"handy.h"
Gregory Frascadore
frascado at umn-cs.UUCP
Thu Sep 12 23:01:21 AEST 1985
>I'm interested in coming up with an include file, say "handy.h",
>which declares a lot of commonly useful "stuff". A lot of discussion
>Any other suggestions would be appreciated.
>-- Rich Wagner
One of my favorites is:
#define repeat do
#define until( expr) while( !(expr))
I prefer repeat-until loops over do-while's
(my pascal heritage is showing :-)
--
-------
Gregory Frascadore
Computer Science Department
University of Minnesota
...ihnp4!stolaf!umn-cs!frascado
More information about the Comp.lang.c
mailing list