I am sort of a beginner to c++ and know basic console items and functions.
I need help with a text based game where the problem is saving.
I know how to save but how can I make the save function always accessible?
such as
cin >> input;
input = (char) toupper(input);
if (input == 'S')
{
save code here
}
Last edited on