Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
How to put spacing between the words in Output or why there are no spaces between the words when i code?
2 Respostas
+ 12
Here I have a couple of example for you.
int n = 7;
cout << "The number is" << n;// The number is7
cout << "The number is " << n;// The number is 7
You see, it's all about a single space at the end of literal.
+ 5
space here> " hello"
space here> " hello " < space here
if i was to print both of these on the same line it would look like this "_" being a space
_hello_hello_