+ 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 odpowiedzi
+ 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
Solo Wanderer 4315
Solo Wanderer 4315 - 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