I\'m trying to read just the integers from a text file structured like this....
ALS 46000 BZK 39850 CAR 38000 //....
using ifstream.
why to make simple things complicated?
whats wrong in this :
ifstream ss("C:\\test.txt"); int score; string name; while( ss >> name >> score ) { // do something with score }