2011年2月26日

vc 常见错误代码

摘要: error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup reasons:控制台程序入门应该是main,错误的弄成了winmain;windows程序入口应该是winmian,错误的弄成了main。 solution:1. Configuration Properties->Linker->System,然后在右边栏的SubSystem对应的项改为Windows(/SUBSYSTEM:WINDOWS) 2. Configuration Properties-&g 阅读全文

posted @ 2011-02-26 11:26 zzrnature 阅读(361) 评论(0) 推荐(0) 编辑

导航