I\'m making a class that displays a message to the user and asks them if they want to return to the start of the program, but the message function is in a separate class from wh
Maybe something like that:
bool dispMessage(void) { cout << "This is my message" << endl; // call me again return true; // do not call me again return false; }
and in the int main():
int main()
int main() { Message DisplayMessage; while(DisplayMessage.dispMessage()) { } return 0; }