c:\program files (x86)\microsoft visual studio\vc98\include\graphics.h(32) : error C2146: syntax error : missing ';' before identifier 'initgraph'
c:\program files (x86)\microsoft visual studio\vc98\include\graphics.h(32) : error C2501: 'HWND' : missing storage-class or type specifiers
c:\program files (x86)\microsoft visual studio\vc98\include\graphics.h(32) : fatal error C1004: unexpected end of file found
举报
救急!!!!下载的easyx刚刚还能运行,现在一样的代码却一直报相同的错
举报
代码文件换成 .cpp 扩展名。
重新创建还是一摸一样的错。
是这个“HWND initgraph(int* gdriver, int* gmode, char* path);”中给出了错误
错误分别是这三个:
error C2146: syntax error : missing ';' before identifier 'initgraph'
error C2501: 'HWND' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found
-
远
2020-1-1
举报