Synopses & Reviews
In
C++ Distilled, veteran educator and programmer
Ira Pohl condenses 700 pages of proposed ANSI standard into a concise road map to C++. Selecting the most important and commonly used language elements, Pohl provides syntax, semantics, and examples, as well as style tips that he has distilled from over two decades of programming experience.
C++ Distilled is a quick and handy reference to the most recent additions to the language, many of which have yet to be covered in any other book on C++.
Features - Covers the important new features of the language such as STL, namespaces, RTTI, and the bool type.
- Special STL section offers reference and example items for this powerful new library, including a description of the string library.
- Distills Pohl's extensive experience into effective programming tips.
- Allows programmers to quickly review syntax and semantics they may not have recently used.
- Provides code for all example programs covered in the book, as well as adjunct programs that illustrate points made in the book.
0201695871B04062001
Description
Includes bibliographical references (p. [189]-190) and index.
About the Author
Ira Pohl is a Professor of Computer Science at the University of California, Santa Cruz and holds a Ph.D. in Computer Science from Stanford University. His research interests include artificial intelligence, the C and C++ programming languages, practical complexity problems, heuristic search methods, deductive algorithms, and educational and social issues. He originated error analysis in heuristic search methods and deductive algorithms.
Professor Pohl was formerly a Mackay professor at University of California- Berkeley and a ZWO fellow in the Netherlands. He is the author or co-author of Object-Oriented Programming Using C++, C++ Distilled: A Concise Ansi/Iso Reference and Style Guide, C by Dissection: The Essentials of C Programming, A Book on C: Programming in C, C++ for C Programmers, C++ for Fortran Programmers, C++ for Pascal Programmers, and Turbo C: The Essentials of C Programming, all published by Addison-Wesley.
0201695871AB04062001
Table of Contents
Preface.
1. Program Structure.
2. Lexical Elements.
Comments.
Identifiers.
Keywords.
3. Constants.
4. Declarations and Scope Rules.
Namespaces.
5. Linkage Rules.
6. Types.
7. Conversion Rules and Casts.
8. Expressions and Operators.
sizeof Expressions.
Autoincrement and Autodecrement Expressions.
Arithmetic Expressions.
Relational, Equality, and Logical Expressions.
Assignment Expressions.
Comma Expressions.
Conditional Expressions.
Bit Manipulation Expressions.
Address and Indirection Expressions.
new and delete Expressions.
Other Expressions.
9. Statements.
Expression Statements.
The Compound Statement.
The if and if-else Statements.
The while Statement.
The for Statement.
The do Statement.
The break and continue Statements.
The switch Statement.
The goto Statement.
The return Statement.
The Declaration Statement.
10. Functions.
Prototypes.
Call-by-Reference.
Inline Functions.
Default Arguments.
Overloading.
Type-Safe Linkage for Functions.
11. Classes.
Constructors and Destructors.
Member Functions.
Friend Functions.
The this Pointer.
Operator Overloading.
static and const Member Functions.
Mutable.
Class Design.
12. Inheritance.
Multiple Inheritance.
Constructor Invocation.
Abstract Base Classes.
Pointer to Class Member.
Run-Time Type Identification.
Virtual Functions.
13. Templates.
Template Parameters.
Function Template.
Friends.
Static Members.
Specialization.
14. Exceptions.
Throwing Exceptions.
Try Blocks.
Handlers.
Exception Specification.
terminate() and unexpected().
Standard Library Exceptions.
15. Input/Output.
The Output Class ostream.
Formatted Output and iomanip.h.
User-Defined Types: Output.
The Input Class istream.
Files.
Using Strings as Streams.
The Functions and Macros in ctype.h.
Using Stream States.
Mixing I/O Libraries.
16. STL.
Containers.
Iterators.
Algorithms.
Functions.
Allocators.
17. String Library.
Constructors.
Member Functions.
Global Operators.
18. Caution and Compatibility.
Nested Class Declarations.
Type Compatibilities.
Miscellaneous.
19. New Features in C++.
20. References.
Index. 0201695871T04062001