- Joined
- Jun 3, 2009
- Messages
- 3
- Reaction score
- 0
Something is not right I have programed before (a couple of years ago) but I can't figure out whats wrong. this is my code (nothing else was working so I went back to the beginning)
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!!" << endl;
system("PAUSE");
return 0;
}
this is the errors I'm getting
Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup MSVCRTD.lib this one
Error 2 fatal error LNK1120: 1 unresolved externals u:\Visual Studio 2008\Projects\this one\Debug\this one.exe 1 this one
Please help
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!!" << endl;
system("PAUSE");
return 0;
}
this is the errors I'm getting
Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup MSVCRTD.lib this one
Error 2 fatal error LNK1120: 1 unresolved externals u:\Visual Studio 2008\Projects\this one\Debug\this one.exe 1 this one
Please help