Hello there guys,
This is my first post obviously. I am having a slight problem with Microsoft visual c++ express because I dont think its my code. here is my code.
Code:
#include <iostream>
using namespace std;
int main(){
cout << "hello world";
return 0;
}
and when I compile it this is what shows.
1>------ Build started: Project: Programexp, Configuration: Debug Win32 ------
1> main.cpp
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Users\Aaron\documents\visual studio 2010\Projects\Programexp\Debug\Programexp.exe : fatal error LNK1120: 1 unresolved externals
Any help guys I am running windows 7 by the way.