+ 1
How to print something at the centre on the screen in CPP?
I don't want to use spaces, cause it uses more memory. I sometimes want the entire text/numbers in cout to appear at the centre.
2 Réponses
+ 1
court"\tword\t";
- 1
cout
I don't want to use spaces, cause it uses more memory. I sometimes want the entire text/numbers in cout to appear at the centre.