...
system("pause");
return 0;
I got told it's a bad habit to have, i never use it now. Using cin.get(); is a much better way.
The linked pointed says an example: getchar()QuoteI got told it's a bad habit to have, i never use it now. Using cin.get(); is a much better way.
sorry.I'm too stupid.
Ask a question: if i use C not C++,how can i do it?please teach me