Today I learned
Today, I learned the awesomeness of the “*” printf formatting rule. printf(“%*c”, 5, ‘t’) will print 5 tabs. Behold, I no longer need employ loops for indenting!
Comments are closed.
Home whatilearned Today I learned
Today, I learned the awesomeness of the “*” printf formatting rule. printf(“%*c”, 5, ‘t’) will print 5 tabs. Behold, I no longer need employ loops for indenting!