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(3C++)'',
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(3C++)''
and
``Support for Vblock(3C++)''
discusses two library components
that are used in the G2++ programming language interface (
String(3C++)
and
Vblock(3C++))
and sections
``Support for Vblock(3C++)'',
``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 chapter, 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(1C++),
G2++(3C++),
G2++(4C++).)
Next topic:
G2++ Programming Language Interface
Previous topic:
A G2 Example
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004