Accessing File in C++

I'm trying to build a simple program where a user can enter numbers into the program and save it to a file. Then, they can come back later, enter new numbers into the same fields, and the program will put the new numbers into a separate file, then compare them and find the differences between cell X in file 1 and cell X in file 2, then display that. Can anyone help me or give me an example of that?
Tutorial on Input/Output with files: http://www.cplusplus.com/doc/tutorial/files.html
Topic archived. No new replies allowed.