"handy.h"

richw at ada-uts.UUCP richw at ada-uts.UUCP
Wed Aug 28 23:39:00 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
(an AWFUL lot) has been going on about Boolean typedefs/defines --
that's the sort of thing I'm looking for:

    typedef enum { false, true } bool;

Other plausible candidates for this "second stdio.h" might be:

    typedef char *string;
    #define FORMFEED '\014'      /*  ASCII form feed  */

Any other suggestions would be appreciated.

-- Rich Wagner



More information about the Comp.lang.c mailing list