Is there a way to center align a text in C++ instead of using blankspaces?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a way to center align a text in C++ instead of using blankspaces??

Hello My Dear Friends. I wanted to align some of my displayed text to be in center in console, but am having trouble. I have to use spaces for that. Please Help me if there is another way to do that. Thanks for the same.

6th Nov 2021, 8:15 AM
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ.
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ. - avatar
1 Answer
+ 4
It's already answered here. Search before asking =) https://www.sololearn.com/Discuss/2019902/how-to-align-a-c-output-at-center
6th Nov 2021, 8:30 AM
Rishi
Rishi - avatar