Yes. You would have to use fstream. But if you are talking about making a basic text game, I would not worry to much about that sort of thing at the moment. Get the bulk of the code working and working well first, before you make any tech changes. Also it helps to add a player inventory ( vector perhaps ? ) to track some of the players personal data.

Think of a vector as a container. For example, there can be a vector of data type int or a vector of data type string. If you know what arrays are, understanding vectors should be simple. A vector is basically a dynamic array, able to shrink and expand to accommodate information.

Videogame Memories!
A site dedicated to keeping videogame memories alive!