How to Think Like a Computer Scientist¶

Learning with C++¶
2nd Edition
by Allen B. Downey, Jeffrey Elkner, and Paul Bui
illustrated by Natalia Cerna
Last Updated: 30 November 2023
Chapter 1 The way of the program
Chapter 2 Variables and types
Chapter 3 Functions
Chapter 4 Conditionals and recursion
Chapter 5 Fruitful functions
Chapter 6 Iteration
Chapter 7 Strings and things
Chapter 8 Structures
Chapter 9 More structures
Chapter 10 Vectors
Chapter 11 Pointers and arrays
Chapter 12 Member functions
Chapter 13 Vectors of objects
Chapter 14 Objects of vectors
Chapter 15 Classes and invarients
Chapter 16 Linked lists
Chapter 17 Stacks
Chapter 18 Queues and priority queues
Chapter 19 Trees
Chapter 20 Heaps
Chapter 21 File input/output
Appendix A Code Source
Appendix B Debugging
Appendix C Customizing and Contributing to the Book