help with reading data from a file

I posted the problem here:
http://www.cplusplus.com/forum/beginner/118649/

Basically, I am unsure what to do to be able to read from a self-made file(more details in the link)
Topic archived. No new replies allowed.