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
C++ In a Nutshell
To-the-point, authoritative, no-nonsense solutions have always been a trademark of O'Reilly books. The In a Nutshell …
book
Optimized C++
In today’s fast and competitive world, a program’s performance is just as important to customers as …
book
Expert C++
Design and architect real-world scalable C++ applications by exploring advanced techniques in low-level programming, object-oriented programming …
book
Practical C++ Programming, 2nd Edition
C++ is a powerful, highly flexible, and adaptable programming language that allows software engineers to organize …