C pet peeve - (nf)

utzoo!decvax!harpo!floyd!vax135!ariel!orion!lime!houti!hogpc!houxz!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!donchin utzoo!decvax!harpo!floyd!vax135!ariel!orion!lime!houti!hogpc!houxz!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!donchin
Thu Mar 24 04:30:27 AEST 1983

uiucdcs!donchin    Mar 23 22:51:00 1983

My pet peeve is the EOL terminator for printf commands.  Sure I
understand that it is possible to end up printing whole sections of
your program, but the error will be obvious at run-time and being able
to write
		This is a title for a list of variables
	%d	%d	%d	%d	%d	%d",
would be very convenient and, I think, much more legible
	printf ("\n\t\tThis is a title for a list of variables\n\

More information about the Comp.lang.c mailing list