[c/c++] EOF 键盘输入

linux      Ctrl + D

MSDos   F6 或 Ctrl + Z 回车

think in coding
原文地址:https://www.cnblogs.com/bluefrog/p/2724328.html