reading csv data
int main() { string line; vector<string> rawdata; ifstream file ( "/Users/mewtwo/Desktop/Programs/seals.csv" ); while(getline(file, line)) { stringstream ss(line); while (getline(ss, line, ',')) { rawdata.push_back(line); } } cout << rawdata[55] << endl; return 0; }