C/C++ Programmer's Guide (G06.25+)
Accessing Middleware Using HP C and C++ for
NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
6-4
Including Header Files for Tools.h++
Including Header Files for Tools.h++
If your application uses any of the functions contained in the Tools.h++ library, you
need to specify the header files for the library by adding #include directives either as
preprocessor directives or as linker options.
For example, the following #include directives specify three of the headers for the
Version 7 RWCstring string class:
#include <rw/cstring.h>
#include <rw/regexp.h>
#include <rw/rstream.h>
For related MAPINCLUDE examples, see Pragmas for Tools.h++ on page 6-6.
XDR Streams
Tools.h++ version 6.1 does not support the classes RWXDRistream and
RWXDRostream.
Tools.h++ version 7 supports the classes RWXDRistream and RWXDRostream in both
the OSS and Guardian environments.
Tools.h++ Example Files for Versions 6.1 and 7
Several example files are provided with the Tools.h++ header files. Table 6-2 on
page 6-5 lists the example files provided with version 6.1. The examples assume that
the data files are in the current subvolume. BUS is an example of a SmallTalk
Collection class.
OSS Version 6.1:
/usr/rogue6.1/rw
In the Guardian namespace:
Version 6.1:
$SYSTEM.SYSnn.ZTLHGSRL,
$SYSTEM.SYSnn.ZTLHOSRL
Version 7:
/usr/rogue/rw
G-series Version 7:
$SYSTEM.SYSnn.ZTLHSRL
H-series Version 7:
$SYSTEM.ZDLLnnn.ZTLH7DLL
PC running
Windows
(ETK)
Version 6.1:
C:\Program Files\Compaq ETK-
NSE\rogue6.1\rw
Version 6.1:
C:\Program Files\Compaq ETK-
NSE\rogue6.1\lib
Version 7:
C:\Program Files\Compaq ETK-
NSE\rogue\rw
Version 7:
C:\Program Files\Compaq ETK-
NSE\rogue\lib
Table 6-1. Installation Details for G06.20 Tools.h++ (page 2 of 2)
Environment Location of Header Files Location of SRLs or DLLS