I want to print /n on the screen? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I want to print /n on the screen?

It is very hard to print because it is used to leaves a line... just as endl

30th Mar 2017, 11:27 AM
Shiv MishrašŸŽø
Shiv MishrašŸŽø - avatar
1 Answer
+ 6
cout <<"\\n" will work
30th Mar 2017, 11:30 AM
ą¤¦ą„‡ą¤µą„‡ą¤‚ą¤¦ą„ą¤° ą¤®ą¤¹ą¤¾ą¤œą¤Ø (Devender)
ą¤¦ą„‡ą¤µą„‡ą¤‚ą¤¦ą„ą¤° ą¤®ą¤¹ą¤¾ą¤œą¤Ø (Devender) - avatar