K
Kay
I want to input sth and store it by string. However, when I input the
words that contains space, the variable only store the characters after
the space
eg...Good Boy <--only store the Boy in the variable
string word;
cin >> word;
How to solve this problem? Also, I want to hold the screen in sub menu?
When user click enter, the sub menu go back to main menu
words that contains space, the variable only store the characters after
the space
eg...Good Boy <--only store the Boy in the variable
string word;
cin >> word;
How to solve this problem? Also, I want to hold the screen in sub menu?
When user click enter, the sub menu go back to main menu