A question for the C wizards... ;-)_(re)
Thu, 29 May 1997 14:28:37 -0400 (EDT)
On Thu, 29 May 1997, Peter Gerwinski wrote:
> > 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 );
Oh, I didn't knew about this function...
Pierre Phaneuf
"The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offense." - Edsger W. Dijkstra.
Pierre Phaneuf (pp@dilu.ml.org)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es