I'm trying to set up a fake billing program. In my intro output I'm trying to put the text out in the middle of the screen using these guys but I'm a bit confused with em. Can anyone give me a hand? Thanks in advance.
Printable View
I'm trying to set up a fake billing program. In my intro output I'm trying to put the text out in the middle of the screen using these guys but I'm a bit confused with em. Can anyone give me a hand? Thanks in advance.
Sure, we'll help. Just post your code that's giving you troubles and someone will assist you.
I'm just not sure how to use them
would I do like a cout<<setw(number of spaces in here)cout<<"text"
And I'm not completely 100% on what setprecision does.
There's also something about this on the Cprogramming FAQ.