C bites (Null loop-bodies)

Joel Coltoff coltoff at burdvax.UUCP
Sat Aug 31 00:55:30 AEST 1985


<<>>

My approach is to explicitly spell it out with a comment. Sometimes they
are the only comments in the program

	while ( eatup() != '\n' )
		/* NULL BODY */;

	- Joel Coltoff
	{prseby,sdcrdcf,psuvax1}!burdvax!coltoff



More information about the Comp.lang.c mailing list