Open JoshuaKast opened 3 years ago
I observe the same issue with a file without headers and variable line length. But besides the header line, other lines are also discarded (which has probably to do with the variable line length?)
It works as expected when using std::ifstream
or std::stringstream
This issue appeared for me after upgrading to 2.1.0. I did not have problems with 2.0.1, but there I had to define a pseudo header in format for it to work
I observe the same issue on Linux(ARM, x86) as well as Windows.
Hi!
I am having some trouble with the
no_header()
option in this CSV parser, when using the CSVReader object. I am using MinGW64 on Windows 10.Please see the code below to illustrate my problem. The code should:
format
object we want (withno_header
)I expect steps 2, 3, and 5 to print comparable results (all three rows). However, in step 4, we have trouble parsing the CSV file from disk. The
no_header()
option appears to be ignored.Output