Jump to content

C++ Save Data Question!


Recommended Posts

Yo! I'm working on a really cool text based rp game using a console application using C++! But I have a huge question. Say I wanted to edit a variable when A player does something.

 

So like the player opens the application for a bit, but then gets off for a while and wants to save his game before he exits so he can go back where he left off. I was wondering, how would you save a variable to the computer(Or like in a separate file) and then read it on the boot up of the application next time he gets on? 

 

THANKS FOR ANY HELP OR SUGGESTIONS! I NEED IT!

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...