As you've seen, many of the format directives accept optional parameters, such as the field width parameter of the justification, tabbing, and numeric directives. Our examples have encoded these parameters into the format control string. Sometimes it is useful to have a parameter vary during the program's operation. In this example, the arguments are consumed in pairs, with the first of each pair specifying a field width and the second being the number to print. This book may not be reproduced without the written consent of its author.
Online distribution is restricted to the author's site.