How to Think Like a Computer Scientist¶

Learning with C++¶
2nd Edition
by Allen B. Downey, Paul Bui and Jeffrey Elkner
illustrated by Dafni Hernandez
Last Updated: 26 May 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 Interation
Chapter 7 Strings and things
Chapter 8 Structures
Chapter 9 More structures
Chapter 10 Vectors
Chapter 11 Member functions
Chapter 12 Vectors of objects
Chapter 13 Objects of vectors
Chapter 14 Classes and invarients
Chapter 15 Pointers and references
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