+ 1
insertations after cout
For Cout<<"this"<<"is"<<"awesome"; Cant you just do one quotation and insertation or do you have to split it up?
8 Answers
+ 5
@Jame
edit
how about:
using std::cout;
using std::endl;
cout << "This is awesome!" << endl;
+ 2
char mess[]= {'t','h','i','s',' ','i','s',' ','a','w','e','s','o','m','e','\0'};
long way
+ 2
Here is an example
https://code.sololearn.com/cv4fInA6u7FM/?ref=app
+ 2
std::cout << "thisisawesome";
will produce what you posted, I'd suggest
std::cout << "This be awesome.\n";
to make it look good.
+ 1
Try
cout << "This is awesome!" << endl;
+ 1
If that is what you wanted to do then yes
+ 1
You can also wrote
cout<<"this is awesome";
It's the easier way.
+ 1
@Lara using endl is part of my puesdo code.