rightalign - TechRepublic
Question
November 10, 2008 at 03:37 PM
galandracos

rightalign

by galandracos . Updated 17 years, 7 months ago

how do you make chars right align themselves in c.. default print statment is left aligned and i know that when using numbers you use the ‘-‘ to do the opposite of the default but thats the code we put in the printf to make writing right aligned

example:
boo (default)
___________ boo (What I want it to be)

This discussion is locked

All Comments