Cookbook: Difference between revisions

8 bytes added ,  21 September 2012
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?


657

edits