Complete 311 page free C++ ebook by Sharam Hekmat of PragSoft Corporation. This book serves as an introduction to the C++ language. It teaches how to program in C++ and how to properly use its features. It does not attempt to teach object-oriented design to any depth, which I believe is best covered in a book in its own right.
Book Description
This book introduces C++ as an object-oriented programming language. No previous knowledge of C or any other programming language is assumed. Readers who have already been exposed to a high-level programming language (such as C or Pascal) will be able to skip over some of the earlier material in this book. Although the book is primarily designed for use in undergraduate computer science courses, it will be equally useful to professional programmers and hobbyists who intend to learn the language on their own. The entire book can be easily covered in 10-15 lectures, making it suitable for a one-term or one-semester course. It can also be used as the basis of an intensive 4-5 day industrial training course.
Table of Contents
- Preliminaries
- Expressions
- Statements
- Functions
- Arrays, Pointers, and References
- Classes
- Overloading
- Derived Classes
- Templates
- Exception Handling
- The IO Library
- The Preprocessor