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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.