///////////////////////////////////////////////// // // Zoo.h // // Examples for 09Nov06 // //////////////////////////////////////////////// #include //**************************************************************** struct zoo { char name [10]; // A string int feed; // struct zoo *ps; // Pointer to next item }; typedef struct zoo ZOO; // Define a new type ZOO // could be combined with struct // (usually is) ZOO new_animal (char *name, int feed, ZOO *zptr); void print_zoo (ZOO *ptr); // Traverses list and prints out animals and feed requirements int read_zoo (ZOO *, char *); // Read file int add_to_zoo (ZOO a, ZOO *start); // Add to Zoo