#ifndef ANIMALS #define ANIMALS // need string for some of the functions #include enum AnimalT {CHICKEN, DOG, CAT, RABBIT, HORSE, GOAT, COW, FISH, TURTLE, SNAKE, DUCK, UNKNOWN}; const AnimalT FIRST_ANIMAL = CHICKEN; const AnimalT LAST_ANIMAL = UNKNOWN; // I don't want to bring in the standard namespace // so use the scope resolution operator // std::string std::string AnimalTToString(AnimalT a); AnimalT StringToAnimalT(std::string s); AnimalT NextAnimalT(AnimalT a); AnimalT PrevAnimalT(AnimalT a); AnimalT RandomAnimalT(void); #endif