?? zoo.h
字號:
//**************************************
//* Zoo.h: interface for the Zoo class.*
//**************************************
#if !defined(_ZOO_DEF__)
#define _ZOO_DEF__
#include "Animals.h"
#define MAX_ZOO_SIZE 50 // Max Zoo Animal size 50
class Zoo
{
private:
Animal *Begin; // Begining of the list of the Animals
public:
int CountAnimals ( int TypeID = 0); // count Animals function
void Display ( int AnimalTypeID ); // Display Animals ID
// Delete Animal when you been ask to enter the number of the Animal
// you wish to delete....
void DisplayViaCage(int cage);// Remove Animal from Zoo, and deleted if you wish too
Animal *RemoveAnimalViaNumber(int UniqueNumber, int ToCallDelete);
Animal *FindAnimalViaNumber(int UniqueNunber);
bool_t AddAnimal(Animal *pAnim); // To add Animal(s)
Zoo(); // Default constructor
~Zoo(); // Destructor
};
#endif
//************************************************************************
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -