How to Think Like a Computer Scientist

C++ Version

by Allen B. Downey.

Download How to Think Like a Computer Scientist: C++ Version in PDF.

Read How to Think Like a Computer Scientist: C++ Version in HTML.

How to Think Like a Computer Scientist: C++ Version is a free textbook available under the GNU Free Documentation License. Readers are free to copy and distribute the text; they are also free to modify it, which allows them to adapt the book to different needs, and to help develop new material.

The book is available in a variety of electronic formats.

  • The LaTeX source code is available as a gzipped tar file.

  • Precompiled copies are available in PDF and Postscript . Users are free to download and print these files.

  • The HTML version is also available if you prefer to read it online.

  • Prof. Thomas Scheffler has translated the book for use with C (rather than C++). His version, with exercises in German, is available here.

Donate towards my web hosting bill!

Are you using one of our books in a class?

We'd like to know about it. Please consider filling out this short survey.