I have a file:
a 0 0 b 1 1 c 3 4 d 5 6
Using istringstream, I need to get a, then b, then c, etc. But I don\'t know how to do it because there
You could also do this by having two while loops :-/ .
while ( getline(file, line)) { istringstream iss(line); while(iss >> term) { cout << term<< endl; // typing all the terms } }