Summing Up

You have looked at several of the new classes that are part of the new calculator and have seen how they are declared and defined. You have seen that their implementations are similar to but slightly different from their procedural counterparts. You have also seen variations in the degree of internal state among classes and differences in the way objects manage storage. And you have seen how to provide an object to another object and then call on it to provide specific services.

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.