首页上一页 1 下一页尾页 1 条记录 1/1页
跪求大神指点 帮我看看哪里错了!!
发表在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)
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)