how can you store data?

Hello,
I am a real begnner in C++.
I know that you can store data with vectors etc..

the queston is:

How can you store data into a program, so that the next time you start, you find that same data?

(for instance when you save something into "Microsoft Word", or simply a contact list)

Is it possible doing anything like this at my stage?
Last edited on
Yes, a solution is to save the data to a file, and the next run read that data from the file, so the program can use the data again.

Have a look at this post: http://cplusplus.com/forum/beginner/79528/
And here: http://cplusplus.com/doc/tutorial/files/
Thank you very much!!!
I'll start working on it :)
Topic archived. No new replies allowed.