标题:新手不懂哪里出错“求指点”
取消只看楼主
隐轩
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



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




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

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