c++避免一闪而过

cout << "按任意键继续……";
cin.clear();
cin.sync();
cin.get();

你可能感兴趣的:(c++避免一闪而过)