Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Kyle Loudon

Rating No ratings yet

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.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 C++ is a complex language with many subtle facets. This is especially true when it comes to object-oriented and templ… 【Book Arc】 - **Opening (~0%–12%)**: 书名: C Pocket Reference (Kyle Loudon) (Z-Library) 作者: Kyle Loudon C is a complex language with many subtle facets.; his book uses the following typographic conventions: Italic This style is used for filenames and for items emphasized in the text. - **Early (~12%–35%)**: the opportunity to specify a storage class and one or more qualifiers (see “Declarations”).; contain a specific number of elements of a particular type. - **Middle (~35%–65%)**: , static_cast, const_cast, and reinterpret_cast.; The operands of these bitwise operators must both be one of the Boolean, character, or integer types of C . - **Late (~65%–88%)**: be initialized using an initializer in the constructor for the class (see “Member initializers”).; ithout using an object, you qualify it with the name of the class using the scope operator (::). - **Ending (~88%–100%)**: can make use of a virtual base class.; The compiler decides the definition to use based on the arguments provided when the function is called. 【Key Takeaways】 - **书名: C Pocket Reference…** (Opening): 书名: C Pocket Reference (Kyle Loudon) (Z-Library) 作者: Kyle Loudon C is a complex language with many subtle facets. - **his book uses the foll…** (Opening): his book uses the following typographic conventions: Italic This style is used for filenames and for items emphasized in the text. - **} Program Structure 7 www.it** (Opening): } Program Structure 7 www.it-ebooks.info NOTE In C , it is preferable to use templates and inline func- tions in place of macros. - **the opportunity to spe…** (Early): the opportunity to specify a storage class and one or more qualifiers (see “Declarations”). - **contain a specific num…** (Early): contain a specific number of elements of a particular type. - **arrays of characters t…** (Early): arrays of characters to be used for strings. 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - If this is a brief outline, click Regenerate (top right) for a synthesized guide 【Coverage Limits】 Compressed outline without the model (~32 index chunks). Full structured guide needs AI available.
Page 10
his book uses the following typographic conventions: Italic This style is used for filenames and for items emphasized in the text. Constant width This style ...
View in text
Excerpt 2
hat begin with 0x are hexadecimal values (e.g., 0x2a is the 0xffff hexadecimal literal for the decimal number 42). 256L Literals with L (or l) in the suffix ...
View in text
Excerpt 3
/ Comments of the second form are useful for short explana- tions that do not occupy more than a single line. For example: z = MIN(x, y); // z is the smal...
View in text
Excerpt 4
ew values. These can then be used in expressions themselves. For example, the following are all C++ expressions: i->getValue( ) + 10 p * pow(1.0 + rate,(doub...
View in text
Excerpt 5
statement jumps to a label that you specify. For exam- ple: if (GetLastError( ) != ERROR_SUCCESS) goto handleError; // This code gets skipped on an error....
View in text
Excerpt 6
Account(double b); void deposit(double amt); void withdraw(double amt); void getBalance( ) const; private: double ...
View in text
Excerpt 7
can make use of a virtual base class. Virtual Base Classes A virtual base class, not to be confused with an abstract base class, remedies the situation in mu...
View in text
Excerpt 8
voke operator functions explicitly (e.g., a. operator+=(b)). If an operator function is a virtual mem- ber function and is invoked via a base class pointer o...
View in text
Tags
AI categories
C++
c/c++
ISBN: 0596004966
Publisher: O'Reilly Media
Publish Year: 2006
Language: English
Pages: 140
File Format: PDF
File Size: 1.3 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…