📜  c++ pause linux - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:50.636000             🧑  作者: Mango

代码示例1
//replaced system("pause") for linux friendly
cin.ignore; //if you have newline before this line, then you should add this(or just use it because why not?)
cin.get(); // waits for a character (or just waits for your enter)