> -----Original Message----- > From: > [email protected] > [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu. > org] On Behalf Of David Brown > Sent: Saturday, February 28, 2009 12:49 PM > To: [email protected] > Subject: [avr-gcc-list] Re: sprintf > > I didn't mean to imply that there is a problem with sprintf itself - > I've had occasion to use it in my own programs. The point is > that it is > totally inappropriate in this case - not only is direct access to the > array hugely smaller and faster, but it is very much clearer to write > and easier to understand. > > When you want to use the features of sprintf (and friends) > for text and > number formatting, then it is much easier and faster than > writing your > own code.
Which can be summed up in the saying: "Use the right tool for the job." ;-) _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
