标题:[求助]初学者的一个问题
取消只看楼主
月影骑士
Rank: 1
等 级:新手上路
帖 子:20
专家分:0
注 册:2006-7-18
 问题点数:0 回复次数:2 
[求助]初学者的一个问题
main()
{
printf ("This is a prigram. \n");
}



main()
{
int a,b,sum;
a=123; b=456;
sum=a+b;
printf("sum is %d\n",sum);
}

我用的是老潭的书 这两个简单的程序出错在一个地方


搜索更多相关主题的帖子: 456 
2006-07-18 10:44
月影骑士
Rank: 1
等 级:新手上路
帖 子:20
专家分:0
注 册:2006-7-18
得分:0 

我调用了
#include <stdio.h>
就没错了.
真是奇怪


/priest_ms/58701079/1603639243.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://img503.photo./priest_ms/58701079/1603639243.jpg');}" onmousewheel="return imgzoom(this);" alt="" />
2006-07-18 11:03
月影骑士
Rank: 1
等 级:新手上路
帖 子:20
专家分:0
注 册:2006-7-18
得分:0 
谢谢大家,问题已经 solved

/priest_ms/58701079/1603639243.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://img503.photo./priest_ms/58701079/1603639243.jpg');}" onmousewheel="return imgzoom(this);" alt="" />
2006-07-18 11:28



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-78949-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018343 second(s), 9 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved