Exploring C++: The Programmer's Introduction to C++
- 11h 2m
- Ray Lischner
- Apress
- 2009
Exploring C++ uses a series of self–directed lessons to divide C++ into bite–sized chunks that you can digest as rapidly as you can swallow them. The book assumes only a basic understanding of fundamental programming concepts (variables, functions, expressions, statements) and requires no prior knowledge of C or any other particular language. It reduces the usually considerable complexity of C++.
The included lessons allow you to learn by doing, as a participant of an interactive education session. You’ll master each step in a one sitting before you proceed to the next. Author Ray Lischner has designed questions to promote learning new material. And by responding to questions throughout the text, you’ll be engaged every step of the way.
About the Author
RAY LISCHNER is the author of C++ in a Nutshell and other books. He has been programming for over three decades, using languages as diverse as Algol, APL, Bash, C, C++, COBOL, csh, DCL, Delphi, Eiffel, Fortran, Haskell, Icon, Java, LISP, Pascal, Perl, PHP, PL/I, Python, Ruby, Scheme, Smalltalk, and a variety of assemblers.
In the years after he graduated from Caltech (in the mid-1980s), Ray worked as a software developer on both coasts of the United States, with stops in between. He has worked at companies big and small: from start-ups to Fortune 500. Not so very long ago, he decided to escape from the corporate rat race. Due to a minor error in timing, he quit before he figured out how to pay for such trivialities as food and shelter. Undaunted, he persevered and soon discovered writing as a means to keep the creditors at bay.
Ray has always enjoyed teaching. Dissatisfied with the traditional introductory computer science curriculum, he revamped the first programming course and introduced novel lecture and teaching techniques. He pioneered interactive teaching labs—the genesis of this book.
Ray has returned to full-time work as a software developer at Proteus Technologies, where he is the resident C++ expert. Writing has become a part-time endeavor.
In this Book
-
Honing Your tools
-
Reading C++ Code
-
Integer Expressions
-
Strings
-
Simple Input
-
Error Messages
-
For Loops
-
Formatted Output
-
Arrays and Vectors
-
Increment and Decrement
-
Conditions and Logic
-
Compound Statements
-
Introduction to File I/O
-
The Map Data Structure
-
Type Synonyms
-
Characters
-
Character Categories
-
Case-Folding
-
Writing Functions
-
Function Arguments
-
Using Algorithms
-
Overloading Function Names
-
Big and Little Numbers
-
Very Big and Very Little Numbers
-
Documentation
-
Project 1—Body-Mass Index
-
Custom Types
-
Overloading Operators
-
Custom I/O Operators
-
Assignment and Initialization
-
Writing Classes
-
More About Member Functions
-
Access Levels
-
Introduction to Object-Oriented Programming
-
Inheritance
-
Virtual Functions
-
Classes and Types
-
Declarations and Definitions
-
Using Multiple Source Files
-
Function Objects
-
Useful Algorithms
-
Iterators
-
Exceptions
-
More Operators
-
Project 2—Fixed-Point Numbers
-
Function Templates
-
Class Templates
-
Template Specialization
-
Partial Specialization
-
Names and Namespaces
-
Containers
-
International Characters
-
Locales and Facets
-
Text I/O
-
Project 3—Currency Type
-
Pointers
-
Dynamic Memory
-
Exception-Safety
-
Old-Fashioned Arrays
-
Smart Pointers
-
Working with Bits
-
Enumerations
-
Multiple Inheritance
-
Traits and Policies
-
Names and Templates
-
Overloaded Functions
-
Metaprogramming
-
Project 4—Calculator