You can use a file, UserDefaults or Sqlite to name a few options.
You just need a flag that is “tutorial complete” So ANY of the above can do this.
- Reading from a file, there are several ways to do this:
string STRING;
ifstream infile;
infile.open ("names.txt");
while(!infile.eof) // To get you all the lines.
{
getline(infile,STRING); // Saves the line in STRING.
cout<<STRING; // Prints our STRING.
}
infile.close();