Some interesting novice questions from a novice guy
Mark Lawrence
mark at DRD.Com
Sat Nov 3 03:55:56 AEST 1990
burley at world.std.com (James C Burley) wrote:
[with reference to null body loops and use of continue]
} I agree. So what's wrong with the simple solution I've learned (or been
} taught) to use:
}
} while(*foo++)
} ;
I personally like Larry Walls semantics in Perl --
#define next continue
while(*foo++)
next; /* there, Rahul, isn't that better? */
--
mark at DRD.Com uunet!apctrc!drd!mark$B!J%^!<%/!!!&%m!<%l%s%9!K(B
More information about the Comp.lang.c
mailing list