Objectives of This Chapter

By the end of this chapter, you should

  1. Understand how to create a more realistic application using the tools we already have,

  2. Know how to use the switch statement to select among a number of alternatives,

  3. Know how to use the enum data type to give names to constant values that will be used to refer to items in a list,

  4. Understand the advantages of creating variables at the point of use rather than at the beginning of a function,

  5. Know how to find or change the size of a Vec dynamically when necessary, and

  6. Understand how to use virtual functions for implementation purposes within a polymorphic class hierarchy.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset