IDE/Compiler troubles
I'm running DEV C++ 5 and Codeblocks. Both are giving me the same error:
undefined reference to `WinMain@16' |
. I have no earthly idea what that means, or how to fix it. Neither program is letting me compile and run because of this error. Please help!!
Make sure you have created a "console application" and not a "windows application".
I did create Console Applications as per another thread that I read, but it still isn't working :/
Make sure you have a main function, and that it is declared as either
int main()
or
int main(int argc, char* argv[])
(or equivalent).
Topic archived. No new replies allowed.