1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
12345678910
#include "stdafx.h" #include <iostream> using namespace std; int main() { cout << "Hello."; return 0; }