search for books and compare prices
Tables of Contents for Mastering the Standard C++ Classes
Chapter/Section Title
Page #
Page Count
Preface
ix
 
Acknowledgments
xiii
 
Introduction to the C++ Class Library
1
46
The C++ Standard Classes: A Functional View
2
30
The Architectural View of the Standard C++ Class Library
32
13
C++ and Standard Software Lego
45
2
Introduction: Anatomy of a Class
47
26
Standard C++ Class Library Classes
49
16
Attributes, Characteristics, and Methods
65
7
Summary: Basic Anatomy of a Standard C++ Class
72
1
The Iostreams
73
74
Classes and the iostreams
75
4
Object-Oriented Input/Output
79
3
The iostream Class Hierarchy: Relationship Overview
82
1
The iostream typedefs
82
8
The Ultimate Base Class: ios_base
90
14
An Object-Oriented Model of Input
104
10
The basic_ostream Class: An Object-Oriented Model of Output
114
6
The ifstream Class
120
10
Files
130
8
Manipulators
138
8
Summary
146
1
String Classes
147
28
The String Concept
147
7
Basic String Class
154
16
Extending the String Class
170
2
Summary
172
3
The Exception Classes
175
16
What Is a Software Error?
176
1
Software Failures and Exceptions
177
1
Defining Testing, Debugging, and Exception Handling
178
2
The Exception Class Hierarchy
180
4
Using the Exception Classes
184
4
Dealing with Exceptions
188
2
Summary
190
1
Runtime Type Information Classes
191
10
Runtime Type Information
192
6
Summary
198
3
The Standard C++ Containers
201
96
What Are Containers?
201
3
Objects Stored in Sequences
204
7
Containers and Automatic Memory Management
211
1
Using the Sequence Containers
211
11
Object-Oriented Vectors
222
10
Deques
232
7
Container Class Library Adaptors
239
3
Object-Oriented Stacks
242
4
The Standard Queue
246
2
The Associative Containers
248
10
The Set Container
258
5
What Is an Object-Oriented Set?
263
2
The Standard Set Container
265
10
The Standard Multiset Container
275
5
Relations, Maps, and Multimaps
280
11
Map Collection Operators and Operations
291
1
Multimap Collection Class
291
3
Multimap Container Operators and Operations
294
1
Summary
295
2
Iterators
297
48
Iterator Processing: Sequential and Direct Access
299
1
Using Standard C++ Library Iterators
300
15
Iterators and the Container Classes
315
5
Iterator Adaptors
320
3
Predefined Iterator Classes
323
20
Summary
343
2
Algorithms
345
66
What Are Algorithms?
345
1
The Importance of Algorithms
346
5
Algorithm Generalization
351
1
The C++ Standard Algorithms
352
16
Search Algorithms
368
16
Sort Algorithms
384
7
The Set Algorithms
391
7
Container Management Algorithms
398
1
Algorithm Design Considerations
398
12
Summary
410
1
Memory Management
411
24
Dynamic Memory Allocation in C++
412
3
The allocator Class
415
11
The auto_ptr Class
426
5
Summary
431
4
Numerics
435
14
The numeric_limits Class
435
3
The valarray Class
438
7
The complex Class
445
3
Summary
448
1
Language Support
449
28
Internationalization and Localization
449
2
Standard C++ Classes Internationalization Support
451
16
Creating and Using Facet Objects
467
1
The locale Class
468
4
The char_traits Class
472
3
Summary
475
2
Interfacing C++ with Java
477
14
The Java API
478
1
C++ to Java Communication
478
1
Java Native Interface
479
8
A JNI Example
487
4
Comments
491
8
The New ANSI/ISO Standard
491
1
Changes to the iostream Classes
492
1
New Classes
493
1
Three Views of the Standard C++ Class Library
494
2
Integrating Standard C++ Classes with Java Classes
496
1
Diagramming C++ Classes and Object Hierarchies
497
1
Compiler Compatibility, Portability, and Wishful Thinking
497
1
Just a Start...
498
1
About the CD-ROM
499
2
Bibliography
501
6
Index
507