搜索
编程论坛
→
开发语言
→
『 C语言论坛 』
→ while(scanf("%d",&a)==1)怎么理解?
标题:
while(scanf("%d",&a)==1)怎么理解?
取消只看楼主
天使编手
等 级:
新手上路
帖 子:10
专家分:0
注 册:2009-10-2
结帖率:
0
楼主
已结贴
√
问题点数:10 回复次数:0
while(scanf("%d",&a)==1)怎么理解?
#include <stdio.h>
int main(void)
{
int a;
while(scanf("%d",&a)==1)
printf("%d\n",a*a);
return 0;
}
搜索更多相关主题的帖子:
scanf
2010-03-12 23:46
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-299252-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 1.877606 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved