- 8

How do I print "C++ is cool"

I couldn't figure bit out. Any tips?

30th Aug 2021, 11:09 AM
Mr Goose
13 odpowiedzi
+ 4
Andy_Roid I don't understand why someone would dislike your answer
30th Aug 2021, 12:03 PM
Tim
Tim - avatar
+ 2
Use escape sequence https://en.cppreference.com/w/cpp/language/escape to write string involving single quotes or double quotes.
30th Aug 2021, 12:20 PM
Ipang
+ 1
To print text you can use cout<<your text; Your text should be like this "your text"
30th Aug 2021, 11:14 AM
Vtec Fan
Vtec Fan - avatar
30th Aug 2021, 11:15 AM
Vtec Fan
Vtec Fan - avatar
+ 1
Nick yah right, i just dont get it 😅
30th Aug 2021, 12:48 PM
CodeSmith
CodeSmith - avatar
0
cout<<"C++ is cool";
30th Aug 2021, 11:18 AM
Khentit Nadji Sabri
0
I don't understand why someone would dislike his question?
30th Aug 2021, 11:23 AM
CodeSmith
CodeSmith - avatar
0
Martin Taylor yes, I guess he is just excited on starting to code like everyone else 😄
30th Aug 2021, 12:43 PM
CodeSmith
CodeSmith - avatar
0
Well I've gotten to the point it's asking me for something like "primary-expression before ";" token" and I don't know what a token is
30th Aug 2021, 9:10 PM
Mr Goose
0
Martin Taylor neither of the two courses explains how to do it. Is there something I'm missing?
30th Aug 2021, 9:11 PM
Mr Goose