Home Segments Index Top Previous Next

588: Mainline

If you like, you can tell the C++ compiler to put the padding characters on the right by adding a minus sign:

printf ("

The result is left justification, rather than right justification:

   *----- Padding for first argument value starts here 
   | 
   |      *----- Padding for second argument value starts here 
   |      | 
   |      |  *----- Final character displayed 
   |      |  | 
   v      v  v 
   ---    ---- 
box   4703