Cookbook: Difference between revisions
Jump to navigation
Jump to search
Line 188: | Line 188: | ||
=== Create a text table with fprintf=== | === Create a text table with fprintf=== | ||
(A funny formatting trick with fprintf found by chance) | (a.k.a. A funny formatting trick with fprintf found by chance) | ||
Imagine that you want to create a text table with fprintf with 2 columns of 15 characters width and both right justified. How to do this thing? | Imagine that you want to create a text table with fprintf with 2 columns of 15 characters width and both right justified. How to do this thing? | ||