![Best Tutorials website](/images/logo.jpg)
![Do not Repeat Yourself when using Printf!](/images/picture.gif)
Do not Repeat Yourself when using Printf!
We all use printf (or sprintf) to help ourselves when mingling together output strings with our variables, right? This is a tip that I use often, but I continually see people writing code where this technique would be useful but isn't used. What am I on about? Well, how many times have you seen people write something similar to this...
Views: 537 |
| by Steve
View this tutorial
![Popular tutorials](/images/img_popular.gif)
Most popular (last 7 days)
![Ciara forum signature](/uploads/28745.gif)
![Water in Cinema 4D](/uploads/23582.jpg)
![Hologram](/uploads/26797.jpg)
![Star Wars Hailfire Droid](/uploads/33296.gif)
![Create a computer case model](/uploads/29018.jpg)
Highest rated (last 7 days)
![Vectoresque](/images/picture.gif)
![CSS graphic menu with rollovers](/uploads/29378.jpg)
![Speaker face](/images/picture.gif)
![XP Style Beaker Icon](/uploads/12288.jpg)
![Creating a Waterfall](/uploads/11515.jpg)