This book is a modified version of How to Think Like a Computer Scientist - C++ Edition
The C++ version created by Barbara Ericson at the Unviersity of Michigan and is based on How to Think Like a Computer Scientist: C++.
A textbook based on sphinx-touchbook.
This book tries to provide you with an interactive experience as you learn C++. You can read the text, watch videos, answer questions, write and run code.
If you simply want to check it out, read it or whatever, then you're done. You can see and read this book online.
We have tried to make it easy for you to build and use this book.
You can build it and host it yourself in just a few simple steps.
- Documentation here: https://virtualenv.pypa.io/en/stable/
- Video here: https://www.youtube.com/watch?v=IX-v6yvGYFg
- For the impatient:
Step 1: Create and load a virtual python environment
$ python -m venv .venv
$ source .venv
NOTE:
You will need to do the last command every time you want to work on the book in your virtual environment.
If you have not used Python virtual environments before I strongly recommend reading the docs or watching the video
With the virtual environment installed and configured you can continue.
Step 2: Install doc build dependencies and build HTML
$ python -m pip install ".[docs]"
$ python -m sphinx -b html src build/html
Open your favorite web browser and open build/html/index.html.
Sphinx-touchbook supports all the HTML builders, plain text, and LaTeX builders. You can build PDF versions of the documentation if you have a LaTeX engine installed.