A rescued public library · 901 legally free books

FreeTechBooks.org

Curated collection

C and C++

Free books on C, C++ and low-level programming: memory, pointers, data structures, compilers and the craft of writing fast code.

13 books in this path

C and C++ reward programmers who understand what the machine is doing. This collection covers the languages themselves, memory management, data structures, compiler design and the techniques behind efficient systems code.

If you are new to C, start with a book that explains pointers and memory before you attempt a large project. If you come from a higher-level language, a C text will make the cost of abstractions visible. The C++ titles range from language introductions to deeper treatments of templates, the standard library and object-oriented design.

Some books are old enough that their style and tooling feel dated. The core material often remains relevant; use the description and publication year to decide.

  1. 01

    C Programming Tutorial (K&R version 4)

    Mark Burgess

    1999 · 410 pp.

    A C programming tutorial for people who have a little experience with an interpreted programming language, such as Emacs Lisp or a GNU shell.

  2. 02

    C++ Essentials

    Sharam Hekmat

    2005 · 311 pp.

    An introduction to the C++ language, with no attempt to teach object-oriented design to any depth.

  3. 03

    Programming in C

    Kishori Mundargi

    2014 · CC BY-NC

    An introductory course which covers the key features of the C language and its usage.

  4. 04

    How To Think Like A Computer Scientist: C++ Version

    Allen B. Downey

    2012 · 192 pp. · CC BY-NC

    Guidelines to problem-solving as the most important skill for a computer scientist.

  5. 05

    Data Structures & Algorithm Analysis in C++ (Edition 3.2.0.10)

    Clifford A. Shaffer

    2013 · 615 pp.

    This book provides a thorough and comprehensive treatment of fundamental data structures and the principles of algorithm analysis. Focuses on the principles required to select or design the data structure…

  6. 06

    An Introduction to C++ with Design Patterns in Qt 4

    Alan Ezust

    2006 · 656 pp.

    Teaches C++ the Qt way, with an emphasis on design patterns, and re-use of open source libraries and tools.

  7. 07

    An Introduction to GCC

    Brian J. Gough

    2004 · 124 pp. · GFDL

    Provides a tutorial introduction to the GNU C and C++ compilers, gcc and g++.

  8. 08

    The C Book, Second Edition

    Mike Banahan

    1991

    This book highlights where the features of old and Standard C differ significantly. Includes an extra chapter illustrating the use of C and the Standard Library to solve a number…

  9. 09

    An Introduction to the Imperative Part of C++

    David Clark

    Lecture notes for an introductory course on programming, using the imperative part of C++. No programming experience is required.

  10. 10

    C Elements of Style

    Steve Oualline

    1992

    Guidelines to build a good programming style into your code.

  11. 11

    Object-oriented Programming with Ansi-C

    Axel-Tobias Schreiner

    2011 · 221 pp. · Standard Copyright License

    Uses ANSI-C to discover how object-oriented programming is done, what its techniques are, why they help us solve bigger problems, and how we harness generality and program to catch mistakes…

  12. 12

    C++ GUI Programming with Qt 3

    Jasmin Blanchette

    2004 · 464 pp.

    Straight from Trolltech, this book covers all that is needed to build industrial-strength applications with Qt 3.2.x and C++ applications that run natively on Windows, Linux/Unix, Mac OS X, and…

  13. 13

    C++ In Action: Industrial Strength Programming Techniques

    Bartosz Milewski

    2001 · 485 pp.

    Tutorials on object-oriented programming, language features specific to C++, and the large-scale aspects of software development.