- ホーム
- > 洋書
- > 英文書
- > Computer / Languages
Full 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. In the book, 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; and refreshers on key concepts of C++ such as namespaces and scope. It should be 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.
Contents
Introduction Typographic Conventions Acknowledgments Compatibility with C Program Structure Startup Termination Header Files Source Files Preprocessor Directives Preprocessor Macros Fundamental Types bool char and wchar_t short, int, long float, double, long double Compound Types Enumerations Arrays Strings Pointers Pointers to Members References Class Types Type Conversions and Definitions Type Conversions Type Definitions Lexical Elements Comments Identifiers Reserved Words Literals Operators Expressions Scope Local Scope Class Scope Namespace Scope File Scope Other Scopes Enclosing Scopes Declarations Declaring Variables Declaring Functions Storage Classes Qualifiers Statements Expression Statements Null Statements Compound Statements Iteration Statements Selection Statements Jump Statements Namespaces using Declarations using Directives Unnamed Namespaces Classes, Structs, and Unions Declaring Objects Accessing Members Declaring Data Members Declaring Member Functions Access Levels for Members Friends Constructors Destructors Nested Declarations Forward Declarations Structs Unions Inheritance Constructors and Inheritance Destructors and Inheritance Virtual Member Functions Abstract Base Classes Access Levels for Inheritance Multiple Inheritance Virtual Base Classes Templates Template Classes Template Functions Overloading 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 try throw catch Exception Specifications The C++ Standard Library The std Namespace C Standard Library Support C++ Standard Header Files I/O Streams



