For my own code, I always felt that seeking inspiration from sprintf() is the best way to produce less error prone and more readable code, if I need to stay within ...