C++ practice/ctut.cpp
// below is the constructor - called every time an Animal object is created
below is the constructor - called every time an Animal object is created
below is the constructor - called every time an Animal object is created
Animal::Animal(int height, int weight, string name){
  this -> height = height; 
  this -> weight = weight;
  this -> name = name;
  Animal::numOfAnimals++;
}
Animal :: Animal ( int height , int weight , string name ) { this -> height = height ; this -> weight = weight ; this -> name = name ; Animal :: numOfAnimals ++ ; }
below is the constructor - called every time an Animal object is created
below is the constructor - called every time an Animal object is created
// refer to object's specific height with this ->