I have just started an online course on C++ using MS Visual Studio 2019 community Edition Here's the program:
// Program 1_1
// Our first program!
#include <iostream>
using namespace std;
int main()
{
cout << "Hello, World!" << endl;
system("pause");
}`
I get the LNK2019 error - unresolved external symbol _main referenced in function "int__cdecl invoke_main(void)" (?invoke_main@@YAHXZ) I'm running Windows 2010 64 bit professional edition Can anyone help me with this error? Thanks in advance...