HomeContentsPreviousNextIndex

C++ Library Reference Sun Microsystems

Contents

 Preface

1.  Introduction to C++ Libraries

1.1 Man Pages
1.2 Other Libraries
1.2.1 Tools.h++ Library
1.2.2 Sun WorkShop Memory Monitor

2.  The Complex Arithmetic Library

2.1 The Complex Library
2.1.1 Using the Complex Library
2.2 Type complex
2.2.1 Constructors of Class complex
2.2.2 Arithmetic Operators
2.3 Mathematical Functions
2.4 Error Handling
2.5 Input and Output
2.6 Mixed-Mode Arithmetic
2.7 Efficiency
2.8 Complex Man Pages

3.  The Classic iostream Library

3.1 Predefined iostreams
3.2 Basic Structure of iostream Interaction
3.3 Using the Classic iostream Library
3.3.1 Output Using iostream
3.3.2 Input Using iostream
3.3.3 Defining Your Own Extraction Operators
3.3.4 Using the char* Extractor
3.3.5 Reading Any Single Character
3.3.6 Binary Input
3.3.7 Peeking at Input
3.3.8 Extracting Whitespace
3.3.9 Handling Input Errors
3.3.10 Using iostreams with stdio
3.4 Creating iostreams
3.4.1 Dealing with Files Using Class fstream
3.5 Assignment of iostreams
3.6 Format Control
3.7 Manipulators
3.7.1 Using Plain Manipulators
3.7.2 Parameterized Manipulators
3.8 Strstreams: iostreams for Arrays
3.9 Stdiobufs: iostreams for stdio Files
3.10 Streambufs
3.10.1 Working with Streambufs
3.10.2 Using Streambufs
3.11 iostream Man Pages
3.12 iostream Terminology

4.  Using Classic iostreams in a Multithreading Environment

4.1 Multithreading
4.2 Organization of the MT-Safe iostream Library
4.2.1 Public Conversion Routines
4.2.2 Compiling and Linking with the MT-Safe libC Library
4.2.3 MT-Safe iostream Restrictions
4.2.4 Performance
4.3 Interface Changes to the iostream Library
4.3.1 New Classes
4.3.2 New Class Hierarchy
4.3.3 New Functions
4.4 Global and Static Data
4.5 Sequence Execution
4.6 Object Locks
4.6.1 Class stream_locker
4.7 MT-Safe Classes
4.8 Object Destruction
4.9 An Example Application

5.  The C++ Standard Library

5.1 C++ Standard Library Header Files
5.2 C++ Standard Library Man Pages

 Index


Sun Microsystems, Inc.
Copyright information. All rights reserved.
Feedback
Library   |   Contents   |   Previous   |   Next   |   Index