Nov 16, 2011 at 4:43pm UTC
#include <iostream>
using namespace std ;
void main (void ){
cout<<"hello";
}
1>------ Build started: Project: da, Configuration: Debug Win32 ------
1>Build started 11/16/2011 6:42:09 PM.
1>InitializeBuildStatus:
1> Touching "Debug\da.unsuccessfulbuild".
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>C:\Users\Mo3aZ\Desktop\Home work\da\Debug\da.exe : fatal error LNK1120: 1 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.12
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Nov 16, 2011 at 4:49pm UTC
Your IDE thinks you're making a Win32 program using all its magic bells and whistles. Create a new project or whatever it's called in Visual Studio these days and pick the basic console program option.
Last edited on Nov 16, 2011 at 4:49pm UTC