Summing Up

Enumerated types, structure types, and function pointer types offer tremendous power for creating advanced programs. You have seen how to declare them, define variables of the new types, use constants from the enumerations, select members from structures, and assign and call through function pointers. All of this will help get you ready for object-oriented classes. But first, you can take a break from the hard stuff and look at reading and writing files on disk.

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.