A tiny example of how object-oriented C++ works.