I'm using the book "C++ Primer Plus 6e" by Prata and I feel like I'm following the instructions step-by-step.
I am using Microsoft Visual C++ 2010 Express. I start a new project and select "Win32 Console Application" and on the next screen I ensure that "Console application" is selected and I uncheck "Precompiled Header" and put a check in the box for "Empty Project."
Once the project is created, I make a new .cpp file and type the following code
When I try to build/debug I am greeted with this error message
using namespace std;
cout << "Come up and C++ me some time.";
cout << endl;
cout << "You won't regret it!" << endl;
I did a quick google search and tried a few different things to no avail. Hopefully this forum can help!
1>------ Build started: Project: thisdoesntwork, Configuration: Debug Win32 ------
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>c:\Users\Leewiz\Documents\Visual Studio 2010\projects\thisdoesntwork\Debug\thisdoesntwork.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks in advance