|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
#include,stdio.h>
int main(){
int, total=;
for(i=1;i=<100; i++){
total+=i;
}
printf("1+2+3+...+99+100=%d\n", total);
return0;
}
那里错啦 求大神解释??
c:\documents and settings\administrator\桌面\helloworde\helloworde.c(7) : error C2143: syntax error : missing '{' before 'string'
c:\documents and settings\administrator\桌面\helloworde\helloworde.c(7) : error C2059: syntax error : '<Unknown>'
c:\documents and settings\administrator\桌面\helloworde\helloworde.c(7) : error C2059: syntax error : ')'
c:\documents and settings\administrator\桌面\helloworde\helloworde.c(9) : error C2059: syntax error : '}'
执行 cl.exe 时出错.
helloworde.obj - 1 error(s), 0 warning(s)
提示的什么看不懂?? |
|