A C++ Book¶
for Undergraduate Computer Science Majors¶
by Jeffrey Elkner (with liberal borrowings from the work of Allen B. Downey and Paul Bui)
illustrated by Natalia Cerna
Last Updated: 19 December 2024
Chapter 1 The way of the program
Chapter 2 Variables, types, and expressions
Chapter 3 Functions
Chapter 4 Conditionals and recursion
Chapter 5 Fruitful functions
Chapter 6 Iteration
Chapter 7 Strings
Chapter 8 Structures
Chapter 9 Pointers and arrays
Chapter 10 Vectors
Chapter 11 Member functions
Chapter 12 Vectors of objects
Chapter 13 Objects of vectors
Chapter 14 Classes and invarients
Chapter 15 Extending classes
Chapter 16 Vectors of vectors
Chapter 17 Linked lists
Chapter 18 Stacks
Chapter 19 Queues and priority queues
Chapter 20 Trees
Chapter 21 Heaps
Appendix A Code source
Appendix B Debugging
Appendix C A development environment for unit testing
Appendix D Customizing and contributing to the book