hello, can somebody please explain what does this warning mean
undefined reference to 'WinMain@16'
thanks in advance
views:
44answers:
2
A:
Google has lots of references to that particular error. You need to provide a WinMain
function, depending on what type of project you are building (console or Windows app).
Martin Wickman
2010-05-04 12:49:47
A:
Quick google search shows:
http://bytes.com/topic/c/answers/164498-linker-error-undefined-reference-winmain-16-a
Banfa - Site Moderator
WinMain
replaces main as the entry point for Windows Applications so either you were trying to right [sic] a Windows application and left out WinMain or you wern't trying to write a Windows application and (hopefully) have a main but have compile/link with flags that tell the compiler/linker that this is a Windows application and probably linked with some of the Windows system libraries.
Bert F
2010-05-04 12:50:26