LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1004|回复: 3

一句话的小问题

[复制链接]
发表于 2003-6-6 13:13:38 | 显示全部楼层 |阅读模式
有道题目,“Display a file a line at a time, waiting for the user to press the "Enter" key after each line.”
我不知怎样才能实现“waiting for the user to press the Enter key”。
发表于 2003-6-6 13:27:56 | 显示全部楼层
please type the first parameter: 30(回车)
please type the second parameter: 40(回车)
the sum is:60 (回车)
press any key to continue回车)
...
发表于 2003-6-7 07:48:27 | 显示全部楼层
论坛已经有人问过。
 楼主| 发表于 2003-6-7 23:13:10 | 显示全部楼层
对不起,没说清楚。我是要用C++实现
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表