Hi guys.
What my problem is basically either some typo, or I am doing something extremelly wrong. Can't think of something else.
After some time off with C++ I got back with it, creating the simple project to see how well my memory serves me. I am pretty sure that I'm not doing something wrong with this code.
#include <iostream>
using namespace std;
int money= 1000;
string user;
int main()
{
cout << "Enter username." << endl;
cin >> user;
cout << "Welcome! " << endl;
cout << "You have : " << money << " dollars left.\n" ;
}
Thanks for the help.