Reading delimited files in C++
10,327
There is no problem in using iostreams - you could read each line with getline into string, and then use stringstream on that string to iterate over fields.
Author by
Mr. Will
Updated on June 21, 2022Comments
-
Mr. Will about 2 years
What is the best way to read in a tab delimited file in C++ and store each line as a record? I have been looking for an open source library to help with this, but have been unsuccessful so it looks like I will have to write my own.