Link to home
Start Free TrialLog in
Avatar of Mister_Spock
Mister_SpockFlag for United States of America

asked on

main.cpp MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

No matter how I create a Visual C++ 2010 project I keep getting   main.cpp
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup. I have even gone to a very basic entry point for Visual C++. I have tried changing the linker and follow any Visual C++ 2010 demo that I could, I keep getting the same error as above.
#include <iostream>

using namespace std;

int Main(void)
{
	
	return 0; 
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of crysallus
crysallus
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mister_Spock

ASKER

I can not believe it was something simple as that
Yes, C++ is case-sensitive, always.