"handy.h"

Greg Wohletz wohletz at unrvax.UUCP
Sun Sep 8 15:52:12 AEST 1985


In article <29 at andromeda.UUCP> dave at andromeda.UUCP (Dave Bloom) writes:
>
> >
> >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....
>-- 
>-------------------------------------------------------------------------------
Stuff like this really stinks! Try looking at the code for `sh' and you will
understand...
				--Greg

CSNet:	greg%unlv at CSNet-Relay
UUCP:	{seismo , ucbvax!menlo70}!unr70!unrvax!unlv44!greg



More information about the Comp.lang.c mailing list