You can use the stream operator with a string, but it will only read one word (up to the next whitespace). getline will read until the next newline character.
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: D_Drmmr Search: Search took 0.16 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |