The Annotated C++ Reference Manual / Edition 1

The Annotated C++ Reference Manual / Edition 1

5.0 1
by Margaret A. Ellis, Bjarne Stroustrup
     
 

ISBN-10: 0201514591

ISBN-13: 9780201514599

Pub. Date: 01/01/1990

Publisher: Addison-Wesley

This book provides a complete reference for the C++ programming language. It consists of the C++ reference manual, approved as the base document for ANSI standardization of the language, plus annotations and commentary.

The annotations and commentary discuss what is not included in the language, why certain features are defined as they are, and how one might

Overview

This book provides a complete reference for the C++ programming language. It consists of the C++ reference manual, approved as the base document for ANSI standardization of the language, plus annotations and commentary.

The annotations and commentary discuss what is not included in the language, why certain features are defined as they are, and how one might implement particular features. The commentaries also help the reader to understand the relationships between parts of the language. Comparisons with C and examples explain the more subtle points of the language.

Sixteen chapters cover the latest version of C++ including multiple inheritance, abstract classes, templates, exception handling, and more. A final chapter describes resolutions by the ANSI/ISO committee including new features such as run-time type information and namespaces. Appendices summarize the grammar and evolution of the language, and explain in detail the differences between C and C++.

The Annotated C++ Reference Manual will appeal to language implementors and expert C++ programmers.

0201514591B04062001

Product Details

ISBN-13:
9780201514599
Publisher:
Addison-Wesley
Publication date:
01/01/1990
Edition description:
New Edition
Pages:
480
Product dimensions:
6.14(w) x 9.05(h) x 0.70(d)

Table of Contents

Preface.

1. Introduction.

Overview.

Syntax Notation.

Evolution of C++.

Acknowledgements.

2. Lexical Conventions.

Tokens.

Comments.

Identifiers.

Keywords.

Literals.

Implementation Dependencies.

3. Basic Concepts.

Declarations and Definitions.

Scopes.

Program and Linkage.

Start and Termination.

Storage Classes.

Types.

Lvalues.

Name Spaces.

Numerical Limits.

4. Standard Conversions.

Integral Promotions.

Integral Conversions.

Float and Double.

Floating and Integral.

Arithmetic Conversions.

Pointer Conversions.

Reference Conversions.

Pointers to Members.

Arithmetic Conversions.

5. Expressions.

Primary Expressions.

Postfix Expressions.

Unary Operators.

Explicit Type Conversion.

Pointer-to-Member Operators.

Multiplicative Operators.

Additive Operators.

Shift Operators.

Relational Operators.

Equality Operators.

Bitwise AND Operator.

Bitwise Exclusive OR Operator.

Bitwise Inclusive OR Operator.

Logical AND Operator.

Logical OR Operator.

Conditional Operator.

Assignment Operators.

Comma Operator.

Constant Expressions.

6. Statements.

Labeled Statement.

Expression Statement.

Compound Statement, or Block.

Selection Statements.

Iteration Statements.

Jump Statements.

Declaration Statement.

Ambiguity Resolution.

7. Declarations.

Specifiers.

Enumeration Declarations.

Asm Declarations.

Linkage Specifications.

Linkage Specifications.

Type-safe Linkage.

Limitations.

8. Declarators.

Type Names

Meaning of Declarators.

Function Definitions.

Initializers.

Pointers to Members.

9. Classes.

Class Names.

Class Members.

Member Functions.

Static Members.

Unions.

Bit-Fields.

Nested Class Declarations.

Local Class Declarations.

Local Type Names.

Interfaces.

10. Derived Classes.

Multiple Base Classes.

Virtual Functions.

Abstract Classes.

Summary of Scope Rules.

Single Inheritance.

Multiple Inheritance.

Multiple Inheritance and Casting.

Multiple Inheritance and Implicit Conversion.

Virtual Base Classes.

Virtual Base Classes and Casting.

Single Inheritance and Virtual Functions.

Multiple Inheritance and Virtual Functions.

Instantiation of Virtual Functions.

Virtual Base Classes with Virtual Functions.

Renaming.

11. Member Access Control.

Access Specifiers.

Access Specifiers for Base Classes.

Access Declarations.

Friends.

Protected Member Access.

Access to Virtual Functions.

Multiple Access.

General Ideas.

Per Class Protection.

Access Control.

12. Special Member Functions.

Constructors.

Temporary Objects.

Conversions.

Destructors.

Free Store.

Initialization.

Constructors and Destructors.

Copying Class Objects.

Temporary Elimination.

Access Control and Special Functions.

Summary of Member, Friend, and Special Functions.

13. Overloading.

Declaration Matching.

Argument Matching.

Address of Overload Function.

Overloaded Operators.

14. Templates.

Templates.

Class Templates.

Type Equivalence.

Function Templates.

Declarations and Definitions.

Member Function Templates.

Friends.

Static Members and Variables.

15. Exception Handling.

Exception Handling.

Throwing an Exception.

Constructors and Destructors.

Handling and Exception.

Exception Specifications.

Special Functions.

Exceptions and Access.

16. Preprocessing.

Phases of Preprocessing.

Trigraph Sequences.

Macro Definition and Expansion.

File Inclusion.

Conditional Compilation.

Line Control.

Error Directive.

Pragmas.

Null Directive.

Predefined Names.

C++ Constructs versus #define.

Compatibility.

Classic C Preprocessing.

17. Grammar Summary.

Keywords.

Expressions.

Declarations.

Declarators.

Class.

Statements.

Preprocessor.

Templates.

Exception.

18. Compatibility.

Extensions.

C++ and ANSI C.

Anachronisms.

ANSI/ISO Resolutions.

Index. 0201514591T04062001

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

The Annotated C++ Reference Manual 5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
Anyone who plans on doing serious C/C++ programming should own a copy of this book. Along with the K&R's C Programming Language, this is probably the bulwark of any reference library. Sometimes, there is just no substitute for knowing how something actually works. Absolutely crucial for answering tough questions that get glossed over in teaching books. This is a reference manual, and not a dummy's guide to programming in 15 days in type of book. Its great to get in-depth info on a subject, but not really something you read end to end.