Previous Next Contents Index Doc Set Home


Preface



Audience

This manual, C++ Library Reference, is for programmers who use the C++ programming language.


Purpose of this Manual

This manual gives information on how to use the following C++ libraries:

It also lists the manual pages (man pages) for the above libraries and complements the complete C++ documentation set described in the "Documentation" section which follows.


Prerequisite Reading

Although there is no required prerequisite reading for this manual, you should have access to good C++ reference books, such as The C++ Programming Language by Bjarne Stroustrup.

You should also have access to the documents described in the following section.


Documentation

C++ Package

The following documentation is included in the C++ package:

Manuals

Articles

An article by Andrew Koenig and Bjarne Stroustrup.

An article by Bjarne Stroustrup.

A floating-point white paper by David Goldberg included in the README directory.

Online Documentation

Certain manuals are available through online documentation viewing tools that take advantage of dynamically linked headings and cross-references. Online documentation enables you to electronically jump from one subject to another and to search for topics by using a word or phrase.

Error messages give useful information to help you code and debug your program.

Display the man pages with the man command. To access a man page type: man name. Man pages are in:

/opt/SUNWspro/man


Note - Before you use the man command, insert this directory at the beginning of your search path. This is usually done in the .cshrc file, in a line with setenv MANPATH= at the start; or in the .profile file, in a line with export MANPATH= at the start. For the Bourne shell: MANPATH=...at the start, followed by the line export MANPATH .

The README file gives last-minute information about new software features and bug fixes. To access, type CC -readme

Helps you migrate your code from C++ 3.0 to the current compiler. This manual (also found in Appendix A of the C++ User's Guide) is displayed when you type CC -migration.

Solaris

These manuals are available to you online, and are bundled with the operating system documentation:

The Programming Utilities and Libraries manual provides information on the tools that can aid you in programming. These include:

lex(1)--Generates programs used in simple lexical analysis of text; solves problems by recognizing different strings of characters.

yacc(1)--Imposes structure on computer input and turns it into a C language function that examines the input stream.

prof(1)--Produces an execution profile of the modules in a program.

make(1S)--Automatically maintains, updates, and regenerates related programs and files.

System V make--Describes a version of make(1) that is compatible with older versions of the tool.

sccs(1)--Allows control access to shared files and keeps a history of changes made to a project.

m4(1)--Processes macro languages.

Commercially Available Books

The following is a partial list of available books on C++.


Notational Conventions

The following table describes the notational conventions and symbols used in this manual.

Table  P-1 Notational Conventions  

Typeface or
Symbol

Meaning
Example

AaBbCc123

Command, file, and directory names; on-screen computer output; C++ statements and key words; operating system programs.

Edit your .login file.
Use ls -a to list all files.
system% You have mail.

AaBbCc123

User input, contrasted with on-screen computer output

system% su
password:

AaBbCc123

General arguments, parameters that you replace with appropriate input.

To delete a file, type rm filename.

AaBbCc123

Book titles, new words or terms, or words to be emphasized

Read Chapter 6 in the User's Guide.
These are called class options.
You must be root to do this.

Code samples are included in boxes and may display the following:

%

C shell prompt

demo%

$

Bourne shell prompt

demo$

#

Superuser prompt, either shell

demo#

[ ]

Square brackets contain arguments that can be optional or required.

-d[y|n]

|

The "pipe" or "bar" symbol separates arguments, only one of which may be used at one time.

-d[y|n]

,

The comma separates arguments, one or more of which may be used at one time.

-xinline=[f1,..,.fn]

:

The colon, like the comma, is sometimes used to separate arguments.

-Rdir[:dir]

...

The ellipsis indicates omission in a series.

-xinline=[f1,..,fn]

%

The percent sign indicates the word following it has a special meaning.

-ftrap=%all

<>

In ASCII files, such as the README file, angle brackets contain a variable that must be replaced by an appropriate value.

-xtemp=<dir>




Previous Next Contents Index Doc Set Home