Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Force Justify in printf (in c/c++)

Name: Anonymous 2013-10-05 5:27

Hi all,

How would I print a
string   just  like
this    one   using  
printf    and     a 
specified    width?

(Hoping that the formatting will show properly.)

Name: Anonymous 2013-10-05 9:27

You'll probably  have to look into some library. I do not know of a way to do that built in with printf. It *might* be possible with cout, but again I doubt it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List