I keep getting these messages:
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/app.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
this happens on the most simple code:
#include <iostream>
using namespace std;
int main()
{
cout << "hello";
return 0;
}
what am i doing wrong? this just started happening!
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/app.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
this happens on the most simple code:
#include <iostream>
using namespace std;
int main()
{
cout << "hello";
return 0;
}
what am i doing wrong? this just started happening!
