目前位置:
![]() ![]() ![]() |
| [本帖已阅读859次 分值2 回复2次] |
![]() ![]() ![]() |
大家好!I'm a fresh man to VCer.But now I have a big problem.I really hope someone can give me a hand.Thank you very much!!! 提供者:dreamer 张贴时间:2007-06-16 16:19:59.0 出处:vcer.net 作者:wps |
大家好!I'm a fresh man to VCer.But now I have a big problem.I really hope someone can give me a hand.Thank you very much!!!(2007-06-16 16:19:59.0) |
|||||||||
|
|
||||||||
|
re:大家好!I'm a fresh man to VCer.But now I have a big problem.I really hope someone can give me a hand.Thank you very much!!!
|
|
error LNK2001: unresolved external symbol _main 怎么会要求main呢?而不是WinMain呢? 是不是你将代码直接拷到某个工程的文件中来了,而那个工程是win32 console的,所以它会去找main函数,找不到就报连接错误了,你的这些代码是win32的代码。你需要重新建立一个 win32的工程,而不是console的。 pilixuanke 于 2007-06-16 23:33:54.0 编辑 [回复该贴] |
|
|
re:大家好!I'm a fresh man to VCer.But now I have a big problem.I really hope someone can give me a hand.Thank you very much!!!
|
|
--> 错误原因人家都说了,不是所有的分支都返回int值。 |
|