Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

练习3.17和3.20,怎么停止cin输入继续后面的程序呢? #75

Open
huaguifan opened this issue Dec 22, 2020 · 0 comments
Open

Comments

@huaguifan
Copy link

练习3.17和3.20,怎么停止cin输入继续后面的程序呢?直接ctrl+c程序停止,我试了下可以用getline读入,然后判断字符串是否为空,但练习3.20是要读入整型数字,请问要怎么停止cin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant