In C++ I Cannot Grasp Pointers and Classes

后端 未结 27 1782
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 02:25

I\'m fresh out of college and have been working in C++ for some time now. I understand all the basics of C++ and use them, but I\'m having a hard time grasping more advance

27条回答
  •  鱼传尺愫
    2020-12-03 02:44

    One of the things that really helped me understand these concepts is to learn UML - the Unified Modeling Language. Seeing concepts of object-oriented design in a graphical format really helped me learn what they mean. Sometimes trying to understand these concepts purely by looking at what source code implements them can be difficult to comprehend.

    Seeing object-oriented paradigms like inheritance in graphical form is a very powerful way to grasp the concept.

    Martin Fowler's UML Distilled is a good, brief introduction.

提交回复
热议问题