
C source code for "printf"
Quote:
> Hi,
> I am looking for C source code of the printf or sprintf function.
> Any help would be appreciated.
It's nothing to looking all is written in manual
printf () print to your std output stream
sprintf() print to string , be sure that size of this string is enough
to keep your result
ex:
int d =8;
float f = 2.584732;
char str[]="Test String";
printf("%d",d);printf("%06.3f",f);
printf("%s",str);
Rodger.