Introduction to G2++
The remainder of this tutorial is about extensions to the G2 scheme.
We begin
in the section,
``G2++ Programming Language Interface'',
by describing the programming language interface to G2++.
The section,
``Support for iostream(C++)'',
shows how records
can be read from and written to a variety of sources
and sinks simply by using different
kinds of streams with the I/O routines.
The sections,
``Support for String(C++)''
and
``Support for Vblock(C++)''
discusses two library components
that are used in the G2++ programming language interface (
String(C++)
and
Vblock(C++))
and sections
``Support for Vblock(C++)'',
``Arbitrary Size Strings and Arrays'',
``The Initial Capacity of Strings and Arrays'',
and
``Pathological Record Definitions''
show how to take advantage
of the arbitrary sizes these types afford.
In the section,
``Using G2++ with User-Defined Types'',
in this topic, shows how to define G2++
records containing user-defined types and
how to build the infrastructure necessary
to get the I/O routines to work properly with these.
Manual pages for G2++ are provided.
(See
g2++comp(CP),
G2++(C++),
G2++(4C++).)
Next topic:
G2++ Programming Language Interface
Previous topic:
A G2 Example
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005