- 8
How do I print "C++ is cool"
I couldn't figure bit out. Any tips?
13 odpowiedzi
+ 4
Andy_Roid
I don't understand why someone would dislike your answer
+ 2
Use escape sequence https://en.cppreference.com/w/cpp/language/escape to write string involving single quotes or double quotes.
+ 1
To print text you can use cout<<your text;
Your text should be like this
"your text"
+ 1
Nick yah right, i just dont get it 😅
0
cout<<"C++ is cool";
0
I don't understand why someone would dislike his question?
0
Martin Taylor yes, I guess he is just excited on starting to code like everyone else 😄
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
0
Martin Taylor neither of the two courses explains how to do it. Is there something I'm missing?