Skip to content

C++ Primer

Best in textbook rentals since 2012!

ISBN-10: 0201721481

ISBN-13: 9780201721485

Edition: 4th 2005 (Revised)

Authors: Stanley B. Lippman, Jos�e Lajoie, Barbara E. Moo

List price: $59.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

While maintaining the authority and quality of a book that has sold more than500,000 copies, this fourth edition is not your father's C++ Primer. It has beencompletely revised and rewritten to conform to today's C++ usage. Readersnew to C++ will find a clear and practically organized introduction to thelanguage enhanced by numerous pedagogical aids. Readers returning to C++will be able to update their knowledge with new material on using C++libraries and programming styles.This time, we have added Barbara Moo as a co-author; she brings anunderstanding of how to teach modern C++ based on years of teaching andwriting about C++.
Customers also bought

Book details

List price: $59.99
Edition: 4th
Copyright year: 2005
Publisher: Addison Wesley Professional
Publication date: 2/14/2005
Pages: 912
Size: 6.75" wide x 9.00" long x 1.50" tall
Weight: 2.838
Language: English

Preface
Getting Started
Writing a Simple C++ Program
A First Look at Input/Output
A Word About Comments
Control Structures
Introducing Classes
The C++ Program
Chapter Summary
Defined Terms
The Basics
Variables and Basic Types
Primitive Built-in Types
Literal Constants
Variables
const Qualifier
References
Typedef Names
Enumerations
Class Types
Writing Our Own Header Files
Chapter Summary
Defined Terms
Library Types
Namespace using Declarations
Library string Type
Library vector Type
Introducing Iterators
Iterator Arithmetic
Library bitset Type
Chapter Summary
Defined Terms
Arrays and Pointers
Arrays
Introducing Pointers
C-Style Character Strings
Multidimensioned Arrays
Chapter Summary
Defined Terms
Expressions
Arithmetic Operators
Relational and Logical Operators
The Bitwise Operators
Assignment Operators
Increment and Decrement Operators
The Arrow Operator
The Conditional Operator
The size of Operator
Comma Operator
Evaluating Compound Expressions
The new and delete Expressions
Type Conversions
Chapter Summary
Defined Terms
Statements
Simple Statements
Declaration Statements
Compound Statements (Blocks)
Statement Scope
The if Statement
The if Statement else Branch
The switch Statement
The whileStatement
The for Loop Statement
The do while Statement
The break Statement
The continue Statement
The goto Statement
try Blocks and Exception Handling
A throw Expression
The try Block
Standard Exceptions
Using the Preprocessor for Debugging
Chapter Summary
Defined Terms
Functions
Defining a Function
Argument Passing
The return Statement
Function Declarations
Local Objects
Inline Functions
ClassMemberFunctions
Overloaded Functions
Pointers to Functions
Chapter Summary
Defined Terms
The IO Library
An Object-Oriented Library
Condition States
Managing the Output Buffer
File Input and Output
String Streams
Chapter Summary
Defined Terms
Containers and Algorithms
Sequential Containers
Defining a Sequential Container
Iterators andIteratorRanges
Sequence Container Operations
How a vector Grows
Deciding Which Container to Use
strings Revisited
Container Adaptors
Chapter Summary
Defined Terms
Associative Containers
Preliminaries: the pair Type
Associative Containers
The map Type
The set Type
The multimap and multiset Types
Using Containers: Text-Query Program
Chapter Summary
Defined Terms
Generic Algorithms
Overview
A First Look at the Algorithms
Revisiting Iterators
Structure of Generic Algorithms
Container-Specific Algorithms
Chapter Summary
Defined Terms
Classes and Data Abstraction
Classes
Class Definitions and Declarations
The Implicit this Pointer
Class Scope
Constructors
Friends
static Class Members
Chapter Summary
Defined Terms
Copy Control
The Copy Constructor
The Assignment Operator
The Destructor
A Message-Handling Example
Managing Pointer Members
Chapter Summary
Defined Terms
Overloaded Operations and Conversions
Defini