Doing literally my 2nd walk-through in a book. I'm experienced in PHP, but brand new to C++, and don't quite understand the errors.
This should be super simple:
Getting error:Code:#include <iostream>
int main()
{
using namespace std;
int carrots;
cout << "How many carrots?" << endl;
cin >> carrots;
cout << "Here are two more. ";
carrots = carrots + 2;
cout << carrots;
return 0;
}
Thanks guys, sorry for the newbieQuote:
1>c:\users\chase\documents\visual studio 2010\Projects\getinfo\Debug\getinfo.exe : fatal error LNK1120: 1 unresolved externals