// bell.cpp // Member function definitions for class Bell. #include using std::cout; using std::endl; #include "bell.h" Bell::Bell() // constructor { cout << "bell created" << endl; } Bell::~Bell() // destructor { cout << "bell destroyed" << endl; } void Bell::ringBell() const // ring bell { cout << "elevator rings its bell" << endl; }