已有56人关注
跪求大神指点 帮我看看哪里错了!!
发表在C#图书答疑 2014-11-09
是否精华
版块置顶:
--------------------Configuration: 求体积 - Win32 Debug--------------------
Compiling...
求体积.c
c:\users\administrator\desktop\求体积.c(3) : error C2018: unknown character '0xa3'
c:\users\administrator\desktop\求体积.c(3) : error C2018: unknown character '0xac'
c:\users\administrator\desktop\求体积.c(3) : error C2143: syntax error : missing ')' before 'type'
c:\users\administrator\desktop\求体积.c(3) : error C2059: syntax error : ')'
c:\users\administrator\desktop\求体积.c(3) : error C2085: 'Width' : not in formal parameter list
c:\users\administrator\desktop\求体积.c(5) : error C2085: 'main' : not in formal parameter list
c:\users\administrator\desktop\求体积.c(5) : error C2143: syntax error : missing ';' before '{'
c:\users\administrator\desktop\求体积.c(11) : error C2143: syntax error : missing ';' before ':'
c:\users\administrator\desktop\求体积.c(14) : warning C4020: 'calculate' : too many actual parameters
c:\users\administrator\desktop\求体积.c(16) : warning C4013: 'printf9' undefined; assuming extern returning int
c:\users\administrator\desktop\求体积.c(16) : error C2143: syntax error : missing ')' before '%'
c:\users\administrator\desktop\求体积.c(16) : error C2017: illegal escape sequence
c:\users\administrator\desktop\求体积.c(16) : error C2065: 'd' : undeclared identifier
c:\users\administrator\desktop\求体积.c(16) : error C2146: syntax error : missing ';' before identifier 'n'
c:\users\administrator\desktop\求体积.c(16) : warning C4552: '%' : operator has no effect; expected operator with side-effect
c:\users\administrator\desktop\求体积.c(16) : error C2001: newline in constant
c:\users\administrator\desktop\求体积.c(16) : error C2065: 'n' : undeclared identifier
c:\users\administrator\desktop\求体积.c(16) : error C2143: syntax error : missing ';' before 'string'
c:\users\administrator\desktop\求体积.c(17) : error C2143: syntax error : missing ';' before 'return'
c:\users\administrator\desktop\求体积.c(21) : error C2084: function 'int __cdecl calculate(int )' already has a body
c:\users\administrator\desktop\求体积.c(21) : warning C4029: declared formal parameter list different from definition
c:\users\administrator\desktop\求体积.c(24) : error C2143: syntax error : missing ';' before '}'
执行 cl.exe 时出错.

求体积.obj - 1 error(s), 0 warning(s)
分享到:
精彩评论 1
小科_mrkj
学分:43 LV2
2014-11-10
沙发
读者朋友:
    您好,请把你的代码粘到VC++板块,让技术人员帮你看一下。
首页上一页 1 下一页尾页 1 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照