概述
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
这是错误原因, 我不会改啊
--------------------Configuration: sdfdfdf - Win32 Debug--------------------
Compiling...
sdsdsd.cpp
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(23) : error C2065: 'student' : undeclared identifier
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(23) : error C2109: subscript requires array or pointer type
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(23) : error C2228: left of '.num' must have class/struct/union type
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(24) : error C2143: syntax error : missing ')' before '.'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(24) : error C2540: non-constant expression as array bound
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(24) : error C2059: syntax error : ')'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2275: 'Student' : illegal use of this type as an expression
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(3) : see declaration of 'Student'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2228: left of '.num' must have class/struct/union type
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2275: 'Student' : illegal use of this type as an expression
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(3) : see declaration of 'Student'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2228: left of '.name' must have class/struct/union type
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2275: 'Student' : illegal use of this type as an expression
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(3) : see declaration of 'Student'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2228: left of '.sex' must have class/struct/union type
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2275: 'Student' : illegal use of this type as an expression
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(3) : see declaration of 'Student'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2228: left of '.score_M' must have class/struct/union type
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2275: 'Student' : illegal use of this type as an expression
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(3) : see declaration of 'Student'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2228: left of '.score_E' must have class/struct/union type
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2275: 'Student' : illegal use of this type as an expression
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(3) : see declaration of 'Student'
c:program filesmicrosoft visual studiomyprojectssdfdfdfsdsdsd.cpp(25) : error C2228: left of '.score_P' must have class/struct/union type
Error executing cl.exe. sdsdsd.obj - 18 error(s), 0 warning(s)
最后
以上就是冷静星星为你收集整理的c语言结构体missing ';' before '.',一道结构体的题目, 麻烦帮看一下我的程序的全部内容,希望文章能够帮你解决c语言结构体missing ';' before '.',一道结构体的题目, 麻烦帮看一下我的程序所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复