1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef rat_h #define rat_h typedef struct { float hunger; float love; float fun; float clean; float health; int age; } Rat; extern char *ratart[]; extern char *messages[]; extern Rat rat; void addstat(float *guy); #endif