<已解决>不能使用Ctrl + D吗
Tofloor
poster avatar
ucSec
deepin
2019-10-03 02:24
Author
本帖最后由 xingjiapeng 于 2020-10-10 20:40 编辑

在终端中如何使用Ctrl + D终止输入呢?
比如
  1. while(cin >> a[cnt] >> b[cnt]){
  2.     ...
  3. }
Copy the Code

在终端中如何Ctrl + D终止输入?
谢谢
Reply Favorite View the author
All Replies
avatar
sharlion
deepin
2019-10-03 03:42
#1
Ctrl + C是终止
Reply View the author
avatar
linux000
deepin
2019-10-03 04:48
#2
Ctrl + D是退出
Ctrl + C是取消
Ctrl + Z是终止
Reply View the author
avatar
ucSec
deepin
2019-10-04 14:56
#3
谢谢!
(我发现程序中有个死循环,但是还能输入……)
Reply View the author