0
Why would you?
why would you type cout <<"this"<<"is"<<"awesome!"; over just typing it like this cout <<"this is awesome!";
2 Answers
+ 4
Nathan Maguire (GoodNate)
The first is only useful ,when you want to inject the value of a variable into the statement
Example
========
int age = 17;
cout << "I am "<<age << " years old ".
If you aren't using the value of a variable in such statements, then just saying
cout <<"This "<<"is "<<"awesome";
Would be a waste of time and effort
+ 1
I wouldn't