The practices and examples of Object-Oriented Programming in C++