[Linker error] undefined reference to `WinMain@16'

If you have seen this error while compiling a c++ program on windows using bloodshed dev c++, then you would need to define a main method to resolve this:
int main()
{
return 0;
}
This would solve your issues.

Leave a Reply

Your email address will not be published. Required fields are marked *