Unsolved External

Hey guys I was just trying out Visual C++ Express 2010.

Keep on getting this error.

1>------ Build started: Project: SomethingElse, Configuration: Debug Win32 ------
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>c:\users\XYZ\documents\visual studio 2010\Projects\SomethingElse\Debug\SomethingElse.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

And the codes not that hard to understand.
1
2
3
4
5
6
7
8
9
10
#include <iostream>
using namespace std;
#include <windows.h>

int main ()
{
cout <<"Hello World\n";
system ("pause");
return 0;
}


Can anyone help me?

Last edited on
Is this source file included in your project or just open in the editor?
Topic archived. No new replies allowed.