Skip to content

C++ Pocket Reference

Spend $50 to get a free DVD!

ISBN-10: 0596004966

ISBN-13: 9780596004965

Edition: 2003

Authors: Kyle Loudon, Jonathan Gennick

List price: $9.95
Blue ribbon 30 day, 100% satisfaction guarantee!
Rent eBooks
Buy eBooks
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!


C++ is a complex language with many subtle facets. This is especially true when it comes to object-oriented and template programming. The "C++ Pocket Reference is a memory aid for C++ programmers, enabling them to quickly look up usage and syntax for unfamiliar and infrequently used aspects of the language. The book's small size makes it easy to carry about, ensuring that it will always be at-hand when needed. Programmers will also appreciate the book's brevity; as much information as possible has been crammed into its small pages. In the "C++ Pocket Reference, you will find: Information on C++ types and type conversions Syntax for C++ statements and preprocessor directives Help declaring and defining classes, and managing inheritance Information on declarations, storage classes, arrays, pointers, strings, and expressions Refreshers on key concepts of C++ such as namespaces and scope More! "C++ Pocket Reference is useful to Java and C programmers making the transition to C++, or who find themselves occasionally programming in C++. The three languages are often confusingly similar. This book enables programmers familiar with C or Java to quickly come up to speed on how a particular construct or concept is implemented in C++. Together with its companion STL Pocket Reference, the "C++ Pocket Reference forms one of the most concise, easily-carried, quick-references to the C++ language available.
Customers also bought

Book details

List price: $9.95
Copyright year: 2003
Publisher: O'Reilly Media, Incorporated
Publication date: 8/17/2008
Binding: Paperback
Pages: 140
Size: 4.25" wide x 7.00" long x 0.40" tall
Weight: 0.484
Language: English

Kyle Loudon is a software engineer at Matrix Semiconductor in Santa Clara, California, where he works with file systems and applications for memory chips. Prior to Matrix, Kyle developed platform software for embedded devices, including various wireless phones and the Apple iPod. He also led the graphical user interface group at Jeppesen Dataplan (now a part of Boeing), developed flight planning software, and created system software at IBM in the early 1990s. For the past several years, Kyle has taught object-oriented programming using C++ at the University of California, Santa Cruz Extension, and has worked with C++ since the beginning of its widespread use in 1990. Kyle is the author of Mastering Algorithms with C, also published by O'Reilly and Associates.

Jonathan Gennick is an O'Reilly & Associates editor specializing in database and programming titles. Prior to joining O'Reilly, Jonathan amassed some 17 years of programming and database management experience. During the latter part of his career he specialized in relational database programming, and more recently in database management. Jonathan got his start with relational database systems in 1990, first working with Ingres, and later with Digital's Rdb software. During that period he developed a fondness for SQL, and for the challenge of applying SQL creatively in ways that leveraged it's set-oriented capabilities. In 1994 Jonathan made the leap to Oracle, and is now often found writing about it. Recent projects include Oracle SQL Loader (O'Reilly & Associates, 2001); Oracle SQL Plus Pocket Reference (O'Reilly & Associates, 2000); Oracle SQL*Plus: The Definitive Guide (O'Reilly & Associates, 1999); More recently, Jonathan has made forays into other database products, coauthoring Transact-SQL Cookbook (O'Reilly & Associates, 2002) and editing Practical PostgreSQL (O'Reilly & Associates, 2002). Jonathan is certified as an Oracle DBA and is a member of MENSA and the Oracle Technology Network. He holds a Bachelor of Arts degree in Information and Computer Science, with a Business Administration minor, from Andrews University in Berrien Springs, Michigan. Jonathan currently resides in Munising, Michigan with his wife Donna and their two children: Jenny and Jeff. Jonathan may be contacted by email at, and you can learn more about him personally by visiting his website at .

Typographic Conventions
Compatibility with C
Program Structure
Header Files
Source Files
Preprocessor Directives
Preprocessor Macros
Fundamental Types
char and wchar_t
short, int, long
float, double, long double
Compound Types
Pointers to Members
Class Types
Type Conversions and Definitions
Type Conversions
Type Definitions
Lexical Elements
Reserved Words
Local Scope
Class Scope
Namespace Scope
File Scope
Other Scopes
Enclosing Scopes
Declaring Variables
Declaring Functions
Storage Classes
Expression Statements
Null Statements
Compound Statements
Iteration Statements
Selection Statements
Jump Statements
Using Declarations
Using Directives
Unnamed Namespaces
Classes, Structs, and Unions
Declaring Objects
Accessing Members
Declaring Data Members
Declaring Member Functions
Access Levels for Members
Nested Declarations
Forward Declarations
Constructors and Inheritance
Destructors and Inheritance
Virtual Member Functions
Abstract Base Classes
Access Levels for Inheritance
Multiple Inheritance
Virtual Base Classes
Template Classes
Template Functions
Overloading Functions
Overloading Operators
Memory Management
Memory Allocation
Memory Reclamation
Casts and Runtime Type Information
C-Style Casts
Casts in C++
Runtime Type Information
Exception Handling
Exception Specifications
The C++ Standard Library
The std Namespace
C Standard Library Support
C++ Standard Header Files
I/O Streams