Borland C++ bug?

Graham Wheeler gram at uctcs.cs.uct.ac.za
Fri Jun 21 22:35:59 AEST 1991


In <1991Jun19.003026.21026 at noose.ecn.purdue.edu> del at percheron.ecn.purdue.edu (David A Whittemore) writes:

>i often use sprintf() to append an existing char[] with another:

Why on earth don't you just use strcat? Its a much cheaper operation than a
sprintf.

--
Graham Wheeler <gram at cs.uct.ac.za> | "That which is weak conquers the strong,
Data Network Architectures Lab     | that which is soft conquers the hard.
Dept. of Computer Science          | All men know this; none practise it"
University of Cape Town            |		Lao Tzu - Tao Te Ching Ch.78



More information about the Comp.lang.c mailing list