+ 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.

3rd Apr 2017, 11:12 AM
Jatin Srivastava
Jatin Srivastava - avatar
2 Respostas
+ 1
court"\tword\t";
3rd Apr 2017, 12:21 PM
surya kumar
surya kumar - avatar
- 1
cout
3rd Apr 2017, 12:21 PM
surya kumar
surya kumar - avatar