Peripheral

Question

Locked

rightalign

By galandracos ·
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 conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums