On Tue, Jul 27, 2004 at 03:34:34PM +0800, Ron Michael Khu wrote:
> u can use sprintf( str, "%d", integer );

And risk a buffer overflow.  That's exactly why I recommend using
snprintf instead of sprintf.  *Never* use sprintf ever again.

-- 
dido
Sans les mathematiques on ne penetre point au fond de la philosophie.  Sans la
philosophie on ne penetre point au fond des mathematiques.  Sans les deux on
ne penetre au fond de rien.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to