Bug 705910  2013-10-27
Check the indices goes correctly
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
animal.h
Go to the documentation of this file.
1 
10 class 動物
11 {
12 public:
17  動物( unsigned int i年齢 ) : 年齢( i年齢 )
18  {
19  }
20 
25  virtual ~動物()
26  {
27  }
28 
36  bool 食べる( wchar_t* 食べ物 )
37  {
38  return true;
39  }
40 
48  bool 飲む( wchar_t* 飲み物 )
49  {
50  return true;
51  }
52 
59  bool 寝る()
60  {
61  return true;
62  }
63 
64 protected:
65  unsigned int 年齢;
66 };
bool 食べる(wchar_t *食べ物)
eating function
Definition: animal.h:36
unsigned int 年齢
!
Definition: animal.h:65
bool 寝る()
sleeping function
Definition: animal.h:59
This class have functions like animals do.
Definition: animal.h:10
動物(unsigned int i年齢)
constructor
Definition: animal.h:17
virtual ~動物()
destructor
Definition: animal.h:25
bool 飲む(wchar_t *飲み物)
drinking function
Definition: animal.h:48