How to write vertical text in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to write vertical text in c++

Can anyone tell me how to write vertical text in c++. It would be of great help. Thank you.

19th Nov 2017, 3:24 AM
Dhruv Jain
Dhruv Jain - avatar
4 Answers
+ 7
just insert \n in between each letter
19th Nov 2017, 3:27 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
Thanks I needed this answer also!
19th Nov 2017, 4:14 AM
Danay
Danay - avatar
+ 5
Have you tried \v (Vertical Tab)? It positions the cursor to the position directly below the position where the last print command occurred. Ill test if it works on sololearn too, as \t doesn't.
19th Nov 2017, 4:32 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
0
\n isn't of much help so is there any other alternative.
19th Nov 2017, 4:16 AM
Dhruv Jain
Dhruv Jain - avatar