Oriented object programation, C++