titbits from the world less travelled

[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.

posted by admin in c++ and have No Comments