回复 2楼 embed_xuel
机房计费.c
D:\VC编程\\机房计费.c(23) : error C2061: syntax error : identifier 'charcla'
D:\VC编程\\机房计费.c(30) : error C2059: syntax error : ','
D:\VC编程\\机房计费.c(32) : error C2059: syntax error : '}'
D:\VC编程\\机房计费.c(34) : error C2133: 'student' : unknown size
D:\VC编程\\机房计费.c(138) : error C2065: 'return0' : undeclared identifier
D:\VC编程\\机房计费.c(160) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(160) : error C2037: left of 'no' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(164) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(164) : error C2037: left of 'name' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(167) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(167) : error C2037: left of 'cla' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(171) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(171) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(171) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(171) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(200) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(200) : error C2037: left of 'no' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(206) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(206) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(206) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(206) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(208) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(208) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(208) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(208) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(212) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(212) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(212) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(212) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(214) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(214) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(214) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(214) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(216) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(216) : error C2037: left of 'time_hour' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(218) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(218) : error C2037: left of 'time_minute' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(229) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(229) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(229) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(229) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(231) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(231) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(231) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(231) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(233) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(233) : error C2037: left of 'time_hour' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(235) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(235) : error C2037: left of 'time_minute' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(247) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(247) : error C2037: left of 'time_hour' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(247) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(247) : error C2037: left of 'time_minute' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(254) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(254) : error C2037: left of 'time_hour' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(254) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(254) : error C2037: left of 'time_minute' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(273) : error C2061: syntax error : identifier 'select_no'
D:\VC编程\\机房计费.c(273) : error C2059: syntax error : ';'
D:\VC编程\\机房计费.c(273) : error C2059: syntax error : ')'
D:\VC编程\\机房计费.c(332) : error C2065: 'charcla' : undeclared identifier
D:\VC编程\\机房计费.c(332) : error C2109: subscript requires array or pointer type
D:\VC编程\\机房计费.c(334) : error C2143: syntax error : missing ';' before 'type'
D:\VC编程\\机房计费.c(337) : error C2065: 'cla' : undeclared identifier
D:\VC编程\\机房计费.c(339) : error C2065: 'm' : undeclared identifier
D:\VC编程\\机房计费.c(343) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
D:\VC编程\\机房计费.c(343) : warning C4024: 'strcmp' : different types for formal and actual parameter 1
D:\VC编程\\机房计费.c(343) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(343) : error C2037: left of 'cla' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(343) : error C2198: 'strcmp' : too few actual parameters
D:\VC编程\\机房计费.c(347) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(347) : error C2037: left of 'no' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(349) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(349) : error C2037: left of 'cla' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(351) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(351) : error C2037: left of 'name' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(353) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(353) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(353) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(353) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(355) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(355) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(355) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(355) : error C2037: left of 'end' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(357) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(357) : error C2037: left of 'time_hour' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(357) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(357) : error C2037: left of 'time_minute' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(382) : error C2143: syntax error : missing ';' before 'type'
D:\VC编程\\机房计费.c(386) : error C2065: 'name' : undeclared identifier
D:\VC编程\\机房计费.c(392) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
D:\VC编程\\机房计费.c(392) : warning C4024: 'strcmp' : different types for formal and actual parameter 1
D:\VC编程\\机房计费.c(392) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(392) : error C2037: left of 'name' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(392) : error C2198: 'strcmp' : too few actual parameters
D:\VC编程\\机房计费.c(398) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(398) : error C2037: left of 'no' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(400) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(400) : error C2037: left of 'cla' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(401) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(401) : error C2037: left of 'name' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(403) : error C2036: 'struct STUDENT *' : unknown size
D:\VC编程\\机房计费.c(403) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC
D:\VC编程\\机房计费.c(403) : error C2037: left of 'begin' specifies undefined struct/union 'STUDENT'
D:\VC编程\\机房计费.c(403) : fatal error C1003: error count exceeds 100; stopping compilation
执行 cl.exe 时出错.