Re: a front end for sprintf?

From: d. hall (dhall@illusion.apk.net)
Date: 03/10/96


-----BEGIN PGP SIGNED MESSAGE-----

// thus on Sun, 10 Mar 1996 16:45:00 -0500 (EST), Ben virtually scripted:

Ben> Hi, I have a question for you C gurus :)

Ben> I'm implementing a string class, and I want to make a Sprintf function
Ben> for it that basically does the same thing as sprintf, only takes my
Ben> class as the first argument.

Ben> I would like to be able to pass the ... arguments straight to sprintf,
Ben> for I have no reason to look at them.

Check out the comp.lang.c FAQ.  There is a section which explains the ANSI
C version (probably the unix version as well).  The entry should be listed
with <stdarg.h> and <varargs.h>.

Depends on your platform and compilier.

d.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMUOMTIX26urqpgG1AQFd2QP+Ooqlo61X7WZiG84TpHr2u+ztXuPQex6n
X7n7odKcsDgT9cSY6ngpQ+wEvEYcD79lCtOfb3ciJ3eABUCvJm21QS7vkodPWMaw
uKz0mtsLWg+DNwdTPGT+eQ56TqgYszxk24TBP9LNar2QM0oZwM/m0uH/TrKtoROL
WMF0tJT6iZg=
=lMu7
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b30 : 12/07/00 PST