Just some other formatting options:
printf("name: %s\targs: %s\tvalue %d\tarraysize %d\n", a, b, c, d); printf("name: %s\targs: %s\tvalue %d\tarraysize %d\n", a, b, c, d); printf("name: %s\t" "args: %s\t" "value %d\t" "arraysize %d\n", very_long_name_a, very_long_name_b, very_long_name_c, very_long_name_d);
You can add theme options. The idea is that the printf() conversion functions and the corresponding variables line up "nicely" (for some values, "nicely").
pmg Nov 17 '09 at 22:05 2009-11-17 22:05
source share