HP C++ (cfront) Compatibility Libraries

HP aC++ provides the following library, whose functionality is part of the HP C++ (cfront) compiler. This library is not Standards based.

IOStream Library

IOStream Library

The shared version of this library is located at /usr/lib/hpux##/libstream.so. The archive version is at /usr/lib/hpux##/libstream.a. (## is 32 or 64 - provided as part of the HP-UX core system).

Manpages

The following manpages are located in the /opt/aCC/share/man/man3.Z directory:

IOS.INTRO(3C++) - Introduction to the C++ stream library

filebuf(3C++) - Buffer for file input and output

fstream(3C++) - iostream and streambuf specialized to files

ios(3C++) - input/output formatting

istream(3C++) - formatted and unformatted input

manip(3C++) - iostream manipulators

ostream(3C++) - insertion (storing) into a streambuf

sbuf.prot(3C++) - interface for derived classes

sbuf.pub(3C++) - public interface of character buffering class

ssbuf(3C++) - streambuf specialized to arrays

stdiobuf(3C++) - iostream specialized to stdio file

strstream(3C++) - iostream specialized to arrays

To invoke a manpage from the command line, enter 3s after the man command and before the manpage name.

Example:

Enter the following command to invoke the manpage for filebuf:

man 3s filebuf

Header Files

Use the following header files with the IOStream library.

iostream.h - I/O streams classes ios, istream, ostream, and streambuf

fstream.h

strstream.h - streambuf specialized to arrays

iomanip.h - predefined manipulators and macros

stdiostream.h - specialized streams and streambufs for interaction with stdio

stream.h - includes iostream.h, fstream.h, stdiostream.h and iomanip.h for compatibility with AT&T USL C++ v 1.2

To direct the compiler to search these header files, enter the following command: -I/opt/aCC/include/iostream.

Migration Considerations when Using Libraries 207