一个顺序表的小程序在vc6.0是运行的,就报了这么多错误,各位大神看看,这是什么错误。
c:\users\administrator\desktop\12341\22.c(18):errorC2143:syntaxerror:missing')'before...
c:\users\administrator\desktop\12341\22.c(18) : error C2143: syntax error : missing ')' before '&'
c:\users\administrator\desktop\12341\22.c(18) : error C2143: syntax error : missing '{' before '&'
c:\users\administrator\desktop\12341\22.c(18) : error C2059: syntax error : '&'
c:\users\administrator\desktop\12341\22.c(18) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(29) : error C2143: syntax error : missing ')' before '&'
c:\users\administrator\desktop\12341\22.c(29) : error C2143: syntax error : missing '{' before '&'
c:\users\administrator\desktop\12341\22.c(29) : error C2059: syntax error : '&'
c:\users\administrator\desktop\12341\22.c(29) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(68) : error C2275: 'status' : illegal use of this type as an expression
c:\users\administrator\desktop\12341\22.c(8) : see declaration of 'status'
c:\users\administrator\desktop\12341\22.c(68) : error C2146: syntax error : missing ';' before identifier 'InitList'
c:\users\administrator\desktop\12341\22.c(68) : warning C4013: 'InitList' undefined; assuming extern returning int
c:\users\administrator\desktop\12341\22.c(68) : error C2143: syntax error : missing ')' before 'type'
c:\users\administrator\desktop\12341\22.c(68) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(73) : error C2275: 'status' : illegal use of this type as an expression
c:\users\administrator\desktop\12341\22.c(8) : see declaration of 'status'
c:\users\administrator\desktop\12341\22.c(73) : error C2146: syntax error : missing ';' before identifier 'InsetList'
c:\users\administrator\desktop\12341\22.c(73) : warning C4013: 'InsetList' undefined; assuming extern returning int
c:\users\administrator\desktop\12341\22.c(73) : error C2143: syntax error : missing ')' before 'type'
c:\users\administrator\desktop\12341\22.c(73) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(75) : error C2143: syntax error : missing ';' before 'type'
执行 cl.exe 时出错. 展开
c:\users\administrator\desktop\12341\22.c(18) : error C2143: syntax error : missing '{' before '&'
c:\users\administrator\desktop\12341\22.c(18) : error C2059: syntax error : '&'
c:\users\administrator\desktop\12341\22.c(18) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(29) : error C2143: syntax error : missing ')' before '&'
c:\users\administrator\desktop\12341\22.c(29) : error C2143: syntax error : missing '{' before '&'
c:\users\administrator\desktop\12341\22.c(29) : error C2059: syntax error : '&'
c:\users\administrator\desktop\12341\22.c(29) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(68) : error C2275: 'status' : illegal use of this type as an expression
c:\users\administrator\desktop\12341\22.c(8) : see declaration of 'status'
c:\users\administrator\desktop\12341\22.c(68) : error C2146: syntax error : missing ';' before identifier 'InitList'
c:\users\administrator\desktop\12341\22.c(68) : warning C4013: 'InitList' undefined; assuming extern returning int
c:\users\administrator\desktop\12341\22.c(68) : error C2143: syntax error : missing ')' before 'type'
c:\users\administrator\desktop\12341\22.c(68) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(73) : error C2275: 'status' : illegal use of this type as an expression
c:\users\administrator\desktop\12341\22.c(8) : see declaration of 'status'
c:\users\administrator\desktop\12341\22.c(73) : error C2146: syntax error : missing ';' before identifier 'InsetList'
c:\users\administrator\desktop\12341\22.c(73) : warning C4013: 'InsetList' undefined; assuming extern returning int
c:\users\administrator\desktop\12341\22.c(73) : error C2143: syntax error : missing ')' before 'type'
c:\users\administrator\desktop\12341\22.c(73) : error C2059: syntax error : ')'
c:\users\administrator\desktop\12341\22.c(75) : error C2143: syntax error : missing ';' before 'type'
执行 cl.exe 时出错. 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询