every time i try to run it it says undefined reference to winmain@ something or other, what does that mean?![]()
This is a discussion on Wierd classes error within the C++ Programming forums, part of the General Programming Boards category; every time i try to run it it says undefined reference to winmain@ something or other, what does that mean?...
every time i try to run it it says undefined reference to winmain@ something or other, what does that mean?![]()
hmm, if you posted the exact error and the source code I or someone else could help you out
Perhaps you are trying to compile a console app as a win32 app (or vice-versa). Check your porject settings. Console applications expect there to be a main function defined somewhere and will complain if none is found. Win32 applications expect there to be a winmain function somewhere and will complain if one is not found. Sounds like this may be the issue (perhaps not but it won't hurt to check out).
I used to be an adventurer like you... then I took an arrow to the knee.