|
i have written a code in C++ for employees using OOP .. and after building it ,this error message appear : "
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup "
can anybody tell me what does that mean ? & and what should i do to run the program ?
|
|
|
|
|
See here[^], a solution of your problem.
|
|
|
|
|
I'm guessing that you selected the project type as Windows Application and wrote a main function.
Windows applications expect to find WinMain instead of main .
You can either create a project of type Console Application or change main to WinMain .
|
|
|
|
|
Start here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|