Book description
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!
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.
Publisher resources
Table of contents
- C++ Pocket Reference
-
1. C++ Pocket Reference
- Introduction
- Program Structure
- Fundamental Types
- Compound Types
- Type Conversions and Definitions
-
Lexical Elements
- Comments
- Identifiers
- Reserved Words
- Literals
-
Operators
- Associativity
- Precedence
- Scope resolution (::)
- Array subscript ([ ])
- Member selection (. and ->)
- Function call ( () )
- Value construction ( () )
- Postfix increment and decrement (++, −−)
- typeid
- C++ cast
- sizeof
- Prefix increment and decrement (++, −−)
- Bitwise NOT (˜)
- Logical NOT (!)
- Unary minus and plus (−, +)
- Address-of (&)
- Indirection (*)
- Allocate and deallocate
- C-style cast ( () )
- Pointer-to-member selection (.* and ->*)
- Arithmetic (*, /, %, +, −)
- Shift left and right (<<, >>)
- Relational (<, <=, >, >=, ==, !=)
- Bitwise AND, XOR, and OR (&, ^, |)
- Logical AND and OR (&&, ||)
- Conditional expression (?:)
- Simple and compound assignments (=, *=, /=, %=, +=, −=, <<=, >>=, &=, |=, ^=)
- Exception (throw)
- Sequence (,)
- Expressions
- Scope
- Declarations
- Statements
- Namespaces
- Classes, Structs, and Unions
- Inheritance
- Templates
- Overloading
- Memory Management
- Casts and Runtime Type Information
- Exception Handling
- The C++ Standard Library
- Index
- About the Author
- Copyright
Product information
- Title: C++ Pocket Reference
- Author(s):
- Release date: August 2008
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596004965
You might also like
book
Exploring C++ 11, Second Edition
Exploring C++ divides C++ up into bite-sized chunks that will help you learn the language one …
book
Learning Boost C++ Libraries
Solve practical programming problems using powerful, portable, and expressive libraries from Boost In Detail Filled with …
book
C++ Programming: A Practical Approach
The book follows the approach of introducing a concept followed by providing an example and then …
book
STL Pocket Reference
The STL Pocket Reference describes the functions, classes, and templates in that part of the C++ …