会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Awarrior
The hard part isn't making the decision. It's living with it.
首页
新随笔
订阅
管理
2014年8月24日
Input and Output in C/C++
摘要: 1. 标准输入输出scanf()返回值为输入变量个数,终止输入使用Ctrl+z(等于输入EOF或-1)。#includeint main() { int x; while (scanf("%d", &x) == 1) { printf("%d\n", x); } return 0;}cin返回值为...
阅读全文
posted @ 2014-08-24 15:20 awarrior
阅读(251)
评论(0)
推荐(0)
编辑
公告