I need all of these arrays to be included in a header file all_enum_types.h and its going to be used in another program.
I've got the editor open to the actual header file I just need to know what it is actually going to look like. I'm a total beginner in C.
I've got this so far but I need the middle part (where the dots are):
Code:
#ifndef all_enum_types_h
#define all_enum_types_h
.
.
.
#endif
Arrays:
Code:
typedef enum {
a, b, c, d, e, f, g, h, i
} letter_commands_t;
typedef enum {
type_one, type_two, type_three, type_four, type_five, type_six,
type_seven, type_eight
} type_t;
typedef enum {
thing_one, thing_two, thing_three, thing_four, thing_five, thing_six
} thing_t;