Learning and writing the object oriented C