Read integers and string from file

Hello. Thank you for reading this. Now to the center of the problem:

I am trying to make a simple C++ program that file read in the name of a person from a file and then determine the highest value out of the numbers that follow the name. Then I need it to output it to a new file.

I don't assume you to solve this problem completely; anything you have to say will help. I haven't the foggiest where to begin. I understand I will need a header file like fstream.

Thank you, again. You people are great at helping.


This article is very helpful. http://www.cplusplus.com/doc/tutorial/files/
Thank you fabtasticwill. I will check it out.
Topic archived. No new replies allowed.