Need help with outputting data from a class

This is a discussion on Need help with outputting data from a class within the C++ Programming forums, part of the General Programming Boards category; Hi I am stuck on how to output data that I got from a text file.
The text file looks ...

And the main you have posted doesn't read anything, and only prints two numbers, so (a) there's no reason for you to think it would get numbers from the file and (b) wouldn't give you four zeroes, only two.