#include "fish.h"
Include dependency graph for fish.c:
Go to the source code of this file.
Functions  
void  FillFreezer () 
Fills the freezer with fish.  
int  Weigh (fishTypes inType) 
Returns the total weight of all fish of one type in the freezer.  
int  WeighEm (fishTypes inType) 
Returns the total weight of all fish of one type in the freezer.  
Variables  
fish_t  freezer [MAX_FISH] 
The fish in my freezer. 
Maybe I could say a lot more if this weren't such a simple example. But as it stands, there isn't much need for a detailed description here.
Definition in file fish.c.

Fills the freezer with fish. This function places four fish in my freezer. This comment provides the detailed description for this function. Definition at line 20 of file fish.c. References fishType_carp, fishType_none, fishType_salmon, fishType_trout, freezer, fish_t::myType, and fish_t::myWeight. Referenced by main(). 

Returns the total weight of all fish of one type in the freezer. This function iterates through all the fish in my freezer of a particular type and sums up their weights. This function replaces the defective WeighEm() function.
Definition at line 38 of file fish.c. References freezer, MAX_FISH, fish_t::myType, and fish_t::myWeight. Referenced by main(). 

Returns the total weight of all fish of one type in the freezer. This function iterates through all the fish in my freezer of a particular type and sums up their weights.
Definition at line 58 of file fish.c. References freezer, MAX_FISH, fish_t::myType, and fish_t::myWeight. 

The fish in my freezer. Here's where we define the freezer variable, this comment provides the detailed description for this variable. Definition at line 16 of file fish.c. Referenced by FillFreezer(), Weigh(), and WeighEm(). 