| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 565 人关注过本帖
标题:新手不懂哪里出错“求指点”
取消只看楼主 加入收藏
隐轩
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2015-3-23
结帖率:0
收藏
已结贴  问题点数:20 回复次数:2 
新手不懂哪里出错“求指点”
#include<stdio.h>
#define PI 3.14;
int main()
{
    double r,s;
    r=20.0;
    s=PI*r*r;
    printf("s=%f\n"s);
    return 0;

}

Compiling...
8888.c
C:\Users\HP\Desktop\8888.c(7) : error C2100: illegal indirection
C:\Users\HP\Desktop\8888.c(7) : warning C4552: '*' : operator has no effect; expected operator with side-effect
C:\Users\HP\Desktop\8888.c(8) : error C2146: syntax error : missing ')' before identifier 's'
C:\Users\HP\Desktop\8888.c(8) : error C2059: syntax error : ')'
执行 cl.exe 时出错.

8888.exe - 1 error(s), 0 warning(s)
搜索更多相关主题的帖子: expected Desktop include warning double 
2015-03-23 17:38
隐轩
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2015-3-23
收藏
得分:0 
回复 2楼 TonyDeng
这个是什么问题?
2015-03-23 17:43
隐轩
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2015-3-23
收藏
得分:0 
回复 4楼 执笔画江山
谢啦,刚接触有的还不懂,可以啦。多谢
2015-03-23 17:49
快速回复:新手不懂哪里出错“求指点”
数据加载中...
 
   



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

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