Save data

Hi,
how can I save data using fstream? Like, say level on one line and weapon on another, and read the seperate lines and assign variables to that value? Ive kind of asked this before, but I need more help please!
http://cplusplus.com/doc/tutorial/files/

It really is quite simple to do. Read through that tutorial, give it a shot and come back with any specific questions that arise.
Topic archived. No new replies allowed.