新手希望大家多多帮忙 谢谢
[bc02] 刚学C++就遇到麻烦了 刚编出来的程序就出现错误 完全摸不清楚头脑 运行提示下面这段错误 研究很很长时间没明白 拜托,大家告诉我怎么会试怎么去解决--------------------Configuration: WinMain - Win32 Debug--------------------
Compiling...
WinMain.cpp
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(17) : error C2731: 'WinMain' : function cannot be overloaded
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(11) : see declaration of 'WinMain'
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(22) : error C2065: 'HULL' : undeclared identifier
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(31) : error C2065: 'HWHD' : undeclared identifier
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(31) : error C2146: syntax error : missing ';' before identifier 'hwnd'
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(31) : error C2065: 'hwnd' : undeclared identifier
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(33) : error C2440: '=' : cannot convert from 'struct HWND__ *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(39) : error C2065: 'mag' : undeclared identifier
D:\教程\vc++6.0应用程序\MSDev98\MyProjects\WinMain\WinMain.cpp(39) : fatal error C1903: unable to recover from previous error(s); stopping compilation
执行 cl.exe 时出错.
WinMain.obj - 1 error(s), 0 warning(s)