A question for the C wizards... ;-)_(re)

Thu, 29 May 1997 14:09:55 +0200 (MET DST)


According to Pierre Phaneuf:
> 
> Here's the answer I got from one of my C wizard friend... :-)
> 
> [...]
>
> From: stephane.lajoie@belairdirect.com
> 
> itoa is in stdlib.h/libc.a for DJGPP. I thought it was ANSI C...? Anyway, I
> would suggest sprintf like this:
> 
>   sprintf(buf, "%i", i);

Why use C when GPC (Extended Pascal) has the same?

    WriteStr ( Buf, i : FieldWidth );

Greetings,

    Peter

  Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
 maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es