Friday 15 February 2013

c++ - How can I std::getline() a string? -


Assume that I have this string

  string myString = "This is the one I am How can I do this? 
  meets (mystring, temporary, '/ /  ');  

I like output in a file and then using the getline (output, temp, '/') as always, but me Please feel free to help me. Thank you, please help me.

< P> clearance from a stream; so you want to keep your string:

  #include  std :: stringstream ss (myString); gateline ( SS, Temporary, '/');  

No comments:

Post a Comment