- 博客(1)
- 收藏
- 关注
原创 cin.get() cin.getline() cin.ignore() getline() getchar()函数用法
cin.get():一般用于程序暂停; #include <iostream> using namespace std; int main() { char ch; cout << "This program has paused. Press Enter to continue."; cin.get(ch); cout << "It has paused a second time. Please press Enter again
2021-11-21 17:44:16 571
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人