Chapter 6

More about Program Structure

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • What a pointer to a function is
  • How to define and use pointers to functions
  • How to define and use arrays of pointers to functions
  • What an exception is and how to write exception handlers that deal with them
  • How to write multiple functions with a single name to handle different kinds of data automatically
  • What function templates are and how to define and use them
  • How to write a substantial program using several functions

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

You can find the wrox.com code downloads for this chapter on the Download Code tab at www.wrox.com/remtitle.cgi?isbn=9781118368084. The code is in the Chapter 6 download and individually named according to the names throughout the chapter.

Get Ivor Horton's Beginning Visual C++ 2012 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.