I have recently migrated to Code::Blocks from Dev-cpp. When I tried several of my programs to compile, I always get:
undefined reference to `_WinMain@16`
I have searched through FAQs to find some hint, but no success! I have googled this message, but the MSN site was not very helpful(maybe I did not understand fully).
It is probably something simple, but it does not help me. Please help.
PS: My system is AMD 64 bit and Windows 64 bit Vista.