Description
C++ began as a mere cub of a language more than 20 years ago before multiple inheritance, before templates, and before standard. Then the language grew up quickly. Too quickly. The C++ community debated about the proper use of operator overloading, multiple inheritance, and other features of C++. Every newcomer to C++ felt compelled to write yet another string class, bristling with overloaded operators that rendered it incomprehensible and unusable. But through these exercises (repeated innumerable times) we learned.
Table of Content
Part 1 – The Basics
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
Part 2- Customs Types
Custom Types
Overloading Operators
Customs I/O Operators
Assignments 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
Part 3- Genetic Programming
Function Templates
Class Templates
Template Specialization
Partial Specialization
Names and Namespaces
Containers
International Characters
Locales and Facets
Text I/O
Project 3: Currency Type
Part 4- Real Programming
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
Index
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.
New Product Tab
Here's your new product tab.
Reviews
There are no reviews yet.