Table of Contents

  • 1. Introduction to Computers and Programming
  • 2. Introduction to C++
  • 3. Expressions and Interactivity
  • 4. Making Decisions
  • 5. Loops and Files
  • 6. Functions
  • 7. Arrays and Vectors
  • 8. Searching and Sorting Arrays
  • 9. Pointers
  • 10. Characters, C-Strings, and More about the string  Class
  • 11. Structured Data
  • 12. Advanced File Operations
  • 13. Introduction to Classes
  • 14. More about Classes
  • 15. Inheritance, Polymorphism, and Virtual Functions
  • 16. Exceptions and Templates
  • 17. The Standard Template Library
  • 18. Linked Lists
  • 19. Stacks and Queues
  • 20. Recursion
  • 21. Binary Trees

Appendix A: The ASCII Character Set

Appendix B: Operator Precedence and Associativity

Quick References

Online The following appendices are available at www.pearsonhighered.com/gaddis.

  • Appendix C: Introduction to Flowcharting
  • Appendix D: Using UML in Class Design
  • Appendix E: Namespaces
  • Appendix F: Passing Command Line Arguments
  • Appendix G: Binary Numbers and Bitwise Operations
  • Appendix H: STL Algorithms
  • Appendix I: Multi-Source File Programs
  • Appendix J: Stream Member Functions for Formatting
  • Appendix K: Unions
  • Appendix L: Answers to Checkpoints
  • Appendix M: Answers to Odd Numbered Review Questions
  • Case Study 1: String Manipulation
  • Case Study 2: High Adventure Travel Agency–Part 1
  • Case Study 3: Loan Amortization
  • Case Study 4: Creating a String Class
  • Case Study 5: High Adventure Travel Agency–Part 2
  • Case Study 6: High Adventure Travel Agency–Part 3
  • Case Study 7: Intersection of Sets
  • Case Study 8: Sales Commission