Reading from a file

I am in a c++ class and I am having problems reading from a file. I am trying to return specific parts of a line

EX: You have won 10 games.(only load the int 10.)

Any input would be greatly appreciated. Thank you. , section "get and put stream pointers"
Read the entire line, then parse that line for the values you need from that line.
Thanks! I appreciate it!!
Topic archived. No new replies allowed.