0

How do i insert spaces between lines in the outpout screen?

If i wanted to read 3 or more sentences like if i were reading them from book and not in a big long line... ie: He learned a few basic things - This is awesome And she said: - Yes it is.

19th Feb 2017, 7:27 PM
Marco
Marco - avatar
1 ответ
+ 1
use <<endl; at the end of every line cout<< "hello world"<<endl; or at the end of the string put \n for a line break.
19th Feb 2017, 7:38 PM
Mario L.
Mario L. - avatar