A class design of animal food choice question
<pre><code>class Animal
{

};

class Herbivore:Animal
{
   void eat();
};

class Carnivore:Animal
{  
   void eat();
};

class Food
{
   bool bMeat;
   bool bVegeable;
};
</code></pre>

<p>I start out this class and all of a sudden I don't know what to do to with the class Food, as I would like to print out the correct food type each "kind" of animal favors most.</p>

<p>Sorry my food class size is small but I can't delete it as my whole program requires it to distinguish the food type. I will not mind if you suggest a different solution.</p>
