00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00017 typedef enum 00018 { 00019 fishType_none, 00020 fishType_trout, 00021 fishType_carp, 00022 fishType_salmon, 00023 } fishTypes; 00024 00030 typedef struct 00031 { 00032 fishTypes myType; 00033 int myWeight; 00034 } fish_t; 00035 00041 #define MAX_FISH 10 00042 00044 extern fish_t freezer[MAX_FISH]; 00045 00047 void FillFreezer(); 00048 00050 int Weigh(fishTypes inType); 00051 00053 int WeighEm(fishTypes inType); 00054