Home > Store > Programming > C/C++

Annotated C++ Reference Manual, The

Register your product to gain access to bonus material or receive a coupon.

Annotated C++ Reference Manual, The

Book

  • Your Price: $47.96
  • List Price: $59.95
  • Usually ships in 24 hours.

Description

  • Copyright 1990
  • Dimensions: 6-1/4x9-1/4
  • Pages: 480
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-51459-1
  • ISBN-13: 978-0-201-51459-9

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

Downloads

Supplements

Click below for Supplements related to this title:
Supplements

Sample Content

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

Preface

This book provides a complete language reference for the expert C++ user. It consists of the C++ reference manual plus annotations and commentary sections.

The C++ reference manual alone provides a complete definition of C++, but the terse reference manual style leaves many reasonable questions unanswered. Discussions of what is not in the language, why certain features are defined as they are, and how one might implement some particular feature have no place in a reference manual but are nevertheless of interest to most users. Such discussions are presented as annotations and in the commentary sections.

The commentary also helps the reader appreciate the relationships among different parts of the language and emphasizes points and implications that might have been overlooked in the reference manual itself. Examples and comparisons with C also make this book more approachable than the bare reference manual.

This book does not provide information about standard libraries beyond discussion of the library functions providing the most basic run-time support nor does it discuss C++ programming styles or techniques. Furthermore, this book does not attempt to teach C++ programming; it explains what the language is--not how to use it.

The index and the cross references embedded in the commentary and in the reference manual itself are important and integral parts of the book.

We hope that this reference manual will provide a firm base for further evolution of C++. It has been chosen by ANSI to serve as a starting point for the formal standardization of C++.

Margaret A. Ellis
Bjarne Stroustrup
Murray Hill, New Jersey

0201514591P04062001

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership