I just noticed something and was wondering why if i write this.
and I use the following #includes <iostream> and <cstring> I get a crap load of << erros ? but if i change this <cstring> to <string>Code:
cout << "Please enter your first name: ";
cin >> name;
const string greeting = "Hello, " + name + "!";
const int pad = 1;
const int rows = pad * 2 + 3;
Does <cstring> not work with the << and ? I notice that with the use of <cstring> peeps are using cin.getline. Is that becuase you need to get the entire string including whitespace? and >> wont do that?