"handy.h"

Dave Bloom dave at andromeda.UUCP
Wed Sep 4 14:13:32 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 the most useful #defines I use religiously is for those times when you
want to loop indefinately. Rather than say 'for(;;)', I say:

#define loop for(;;)

Then I can say things like:

		loop {
			etc. etc. etc.
			etc. etc. etc.
			}

which seems much more to the point- Loop without condition....
-- 
-------------------------------------------------------------------------------
      allegra\					       Dave Bloom
      harvard \ pyramid\
       seismo  \  pyrnj >!andromeda!dave         HOME: (201) 868-1764
     ut-sally   >!topaz/			 WORK: (201) 648-5083
       sri-iu  /
ihnp4!packard /		           "You're never alone with a schizophrenic...."



More information about the Comp.lang.c mailing list