C++ compile error (LNK1120 and LNK2019) with Visual Studio

家住魔仙堡 提交于 2019-12-05 11:46:42
FuzzyBunnySlippers

It sounds like you have the project set up as the wrong type.

Look here.

And here.

Toucan Sign

Is it a console project? (If you don't know, look at Project Properties > Linker > System > Subsystem). It should be the first thing that comes up. If so, make your main function a wmain function. If it's a Win32 project it was something like WinMain(16), not sure.

I hope it helped.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!