C++ Pocket Reference: C++ Syntax and Fundamentals

Front Cover
"O'Reilly Media, Inc.", Aug 7, 2008 - Computers - 140 pages

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.
 

Other editions - View all

Common terms and phrases

Popular passages

Page 14 - Escape character \f Form feed \n Newline \r Carriage return \t Horizontal tab \v Vertical tab \\ Backslash \nnn The character in the ASCII set corresponding to the octal number nnn.
Page 15 - Although the size of each type can vary, the compiler guarantees that the size of a short is less than or equal to the size of an int, and the size of an int is less than or equal to the size of a long.

Bibliographic information