1/*
2 Copyright(C) 2001
3 All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4
5 Permission to use, copy, modify, and distribute this
6 software and its documentation for EDUCATIONAL purposes
7 and without fee is hereby granted provided that this
8 copyright notice appears in all copies.
9
10 date : June 1, 2001.
11 authorĀ : Salih Yurttas.
12
13 Mammals.h
14*/
15
16
17#ifndef MAMMALS_H
18#define MAMMALS_H
19
20#include "Animal.h"
21
22class Mammals : public Animal {
23public:
24 Mammals();
25
26 Mammals(const Mammals&);
27
28 ~Mammals();
29
30 Mammals& operator=(const Mammals&);
31
32 virtual int get_legs() const;
33
34 virtual void set_legs(const int);
35
36 void print() const;
37
38protected:
39 int legs;
40};
41#endif