You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2020. It is now read-only.
I test the program on a CSV file 20k_rows_data.csv.txt with 20K lines and the program does not work correctly. (I change the filename with .txt, because GitHub issue does not support uploading .csv file.)
int main() {
csv::Reader csv;
csv.read("../tests/inputs/20k_rows_data.csv.txt");
auto rows = csv.rows();
auto cols = csv.cols();
int row_count = 0;
for (auto row : rows) {
std::string s = std::to_string(++row_count);
for (auto col : cols) {
s += ' ' + (std::string)(row[col]);
}
std::cout << s << std::endl;
}
}
Part of the output is like (copy from my console):
Environment
Issue
I test the program on a CSV file 20k_rows_data.csv.txt with 20K lines and the program does not work correctly. (I change the filename with
.txt, because GitHub issue does not support uploading.csvfile.)Part of the output is like (copy from my console):
Note that the outputs are not the same each time I run it.