I\'m trying to read just the integers from a text file structured like this....
ALS 46000 BZK 39850 CAR 38000 //....
using ifstream.
fscanf(file, "%*s %d", &num);
or %05d if you have leading zeros and fixed width of 5....
sometimes the fastest way to do things in C++ is to use C. :)