Think C++by Allen B. Downey.
Download Think C++ in PDF.
Supporting code is in this GitHub repository.
Think C++ is a free textbook available under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International 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.
This book has also been translated into Chinese.
Are you using one of our books in a class?We'd like to know about it. Please consider filling out this short survey.