Results 1 to 5 of 5

Thread: C++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Do it stylish
    Join Date: Dec:2009
    Location:
    Posts: 155

    C++

    \ . ,
    ?
    ?
    , .
    #include "stdafx.h"
    #include "iostream"
    #include "string"
    using namespace std;


    int _tmain(int argc, _TCHAR* argv[])
    {
    string s,temp;
    getline(cin,s);
    int i;
    for(i=0;s.find (" ",0)!=string::npos;i++) //
    {

    }
    return 0;
    }
    ?

  2. #2
    Eclipse Plugin Developer aphex's Avatar
    Join Date: Mar:2003
    Location: Karlsruhe
    Posts: 546
    1. .( ) : ,,?
    2. ( 0) .( ) .

    http://www.roseindia.net/c-tutorials...-reverse.shtml - . ( 2.)

    .
    We are drowning in information, but starving for knowledge and time!

  3. #3
    The Conquerer I Be RazorJack's Avatar
    Join Date: Jul:2001
    Location:
    Posts: 3,108
    vector<string>

  4. #4
    CMpTuOMp3 ASMith's Avatar
    Join Date: Apr:2004
    Location:
    Posts: 369
    list<string> deque<string> .
    - in-place //.
    :
    1. ,
    2. /
    3.
    4. -
    5.
    6. goto 2

    char*, std::string interface/api.

  5. #5
    Registered abUser ike's Avatar
    Join Date: Jul:2004
    Location: sofi
    Posts: 4,965
    Quote Originally Posted by wilow View Post
    ?
    , .
    3 x,y,i
    x=0
    i=0 .{
    s[i]==" " {y=i-1; " "(x,y);=i+1}
    }
    y=i;
    " "(x,y)
    Have no fear ike iz here.
    CPU Cx486DLC@40MHz, RAM 4MB, VGA Trident 512KB, HDD Conner 160MB, Monitor 14" Color

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |