Chicken - will eat bool wasteGenerated const virtual std:string breed const protected std:string breedName bool newDay#endif

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#ifndef CHICKEN_H #define CHICKEN_H #include <string> class Chicken { public: Chicken(); Chicken(std::string) ; virtual void goToSleep() ; virtual int feedConsumed() = 0 ; // pure virtual // cannot create Chicken objects as we don't know how much they
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // will eat. bool wasteGenerated() const ; virtual std::string breed() const ; protected: std::string breedName ; bool newDay ; } ; #endif...
View Full Document

This note was uploaded on 10/28/2010 for the course CSCI 1113 taught by Professor Staff during the Spring '08 term at Minnesota.

Ask a homework question - tutors are online