宏判断类是否定义
#ifndef ANIMAL_H_H
#define ANIMAL_H_H
class Animal
{
public:
?Animal(int height,int weight);
?void eat();
?void sleep();
?virtual void breathe();
};
#endif
總結
- 上一篇: 桶子算法
- 下一篇: VC++新建选择卡的解释