info@hoekstra-uitgeverij.nl (Richard Bos) writes: > Ted Dennison wrote: > > > compiler. Remember, "printf" actually has to stop and interpret the input string > > to look for replacements. > > No, it doesn't; not unless the format string isn't a constant. Yes it does. The source code from printf is in the C library, so the compiler cant optimise code such as 'printf("%d %f %s",i,f,str)', he cant generate print_int(i);print_space(4);print_float(f);.... This is called partial evaluation, and in practice it is hard to put in a compiler. > Richard -- Yoann Padioleau, INSA de Rennes, France, http://www.irisa.fr/prive/padiolea Opinions expressed here are only mine. Je n'�cris qu'� titre personnel. **____ Get Free. Be Smart. Simply use Linux and Free Software. ____**