to content

read *.csv file to vector<vector<string>>

S.I.Khashin


readCSV.h - header,
readCSV.cpp - implementaion.

Only one funtion in two variants for read *.csv file to vector<vector<string>>

int  ML_readCSV(const char *fname,                   vector<vector<string>> &data, char delim = ',');
int  ML_readCSV(const char *fname, <string> &header, vector<vector<string>> &data, char delim = ',');
ATTENTION!
data[0] is a first COLUMN of the file fname!
data[1] is a 2nd COLUMN of the file fname!

to content


free counters