Summing Up

You have looked at the Unified Modeling Language, a standard form of documentation for object-oriented programs in any language. You have learned to read the basics of a UML class diagram and have seen how the diagram indicates classes, methods, arguments, return types, public/private status, and which classes use or have instances of other classes as members. You have reviewed the differences between the old and the new program as represented by this diagram. This diagram of the calculator will be helpful when you turn it into an object-oriented program.

Get SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.