0

How to put spacing between the words in Output or why there are no spaces between the words when i code?

30th Aug 2017, 6:54 AM
Harshwardhan Fartale
2 ответов
+ 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.
30th Aug 2017, 7:19 AM
Babak
Babak - avatar
+ 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_
30th Aug 2017, 7:25 AM
D_Stark
D_Stark - avatar