c语言宿舍管理系统
C:UserslDesktop1234.cpp(19) : error C2146: syntax error : missing ';' before identifier 'dor'
C:UserslDesktop1234.cpp(19) : error C2501: 'struct_dormitory' : missing storage-class or type specifiers
C:UserslDesktop1234.cpp(19) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
19行错,在dor前面少了分号了
同样的19行,struct_dormitory少了存储类型
还是19行,程序没有结束,一般是少了}了
你只有错误信息没有具体的程序是无法解决的
另外,要学会自己看懂错误并改进
热门标签: