 |
Read CSV format in C/C++ - Physics Help and Math Help - Physics Forums
Yes, a stringstream and getline() will do the job. Remember, getline() isn't just for reading lines. You can specify a different "line terminator" instead of the default '\n'. getline(mystream, mystring, ',') reads from mystream into mystring, stoppin
www.physicsforums.com |
 |