C/C++ Programmer's Guide (G06.25+)

Introduction to HP C and C++ for NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
1-14
C++ Run-Time Library and Standard C++ Library
increases the interoperability between environments. For details on interoperability,
refer to the Open System Services Programmer’s Guide.
The native C run-time library provides locale-sensitive functions and algorithmic code-
set converters for use in internationalized OSS applications. For details, refer to the
Software Internationalization Guide.
C++ Run-Time Library and Standard C++ Library
The C++ run-time library and the Standard C++ Library are available to every C++
program. However, there are two versions of the libraries, as listed in this subsection
and in Table 5-1 on page 5-2. Specifying a version establishes a context that includes
the dialect of the native C++ compiler, the run-time libraries available to you, and the
libraries that are automatically linked when you compile a runnable object file.
VERSION2 Standard C++ Library
For C++ VERSION2, the following libraries are available:
The HP NonStop C run-time library (file ZCRTLDLL)
The HP NonStop C++ common run-time library (product T2831, file ZCPPCDLL)
The VERSION2-specific draft Standard C++ Library from Rogue Wave (product
T2832, file ZCPP2DLL)
Tools.h++ version 7.0 (product T2835, file ZTLH7DLL)
VERSION3 Standard C++ Library ISO/IEC
For C++ VERSION3 (the default version), the following libraries are available:
The HP NonStop C run-time library (file ZCRTLDLL)
The VERSION3 library, which includes:
°
The HP NonStop C++ common run-time library (product T2831, file
ZCPPCDLL)
°
The VERSION3-specific ratified Standard C++ Library ISO/IEC from
Dinkumware, based on the standard document: ISO/IEC 14882:1998(E)
(product T2833, file ZCPP3DLL).
C++ Header Files
The C++ header files for both versions are combined in product T2830. Built-in
checking enforces the use of the correct header files with each version.
Tools.h++ version 7 header files are found in product T2834.