5.1.1 : Class implementation



In this section, we will focus on the object oriented implementation. We keep a simple implementation, without inheritance, virtual function, or pointers everywhere because it is useless in this case (and in pratically all cases). A more complex approach (with inheritance, virtual function, or pointers everywhere) slow down a lot the computing and increase a lot the number of lines of code.