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

Contents
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
xiv
E. Features and Keywords of Version 2 Native C++
E. Features and Keywords of Version 2 Native C++
Features Supported in VERSION2 E-1
Features Not Supported in VERSION2 E-4
Keywords Added for the D45 Product Release E-5
Defining Virtual Function Tables E-5
F. MIGRATION_CHECK Messages
Code Examples F-26
Glossary
Index
Examples
Example 3-1. Calling a Guardian Procedure That Returns a Return Value 3-4
Example 3-2. Calling a Guardian Procedure That Returns a Condition Code 3-5
Example 7-1. C Program that Calls a COBOL Function 7-30
Example 7-2. COBOL Function Called by a C Program 7-31
Example 7-3. Include File (Prototype Function) 7-32
Example 7-4. Binder File 7-32
Example 8-1. C Program That Calls a COBOL Function 8-27
Example 8-2. COBOL Function Called by a C Program 8-28
Example 8-3. Include File (Prototype Function) 8-28
Example 23-1. C/C++ Null Pointer Check (Item 1b) 23-7
Example 23-2. C/C++ Invalid Cast From char to Integer Pointer (Item 2,
Item 10) 23-8
Example 23-3. C/C++ Invalid Cast From char to Integer Pointer
(Item 2, Item 10) 23-8
Example 23-4.
C/C++ Pointer Union (Item 3, Item 10) 23-8
Example 23-5.
C/C++ Structure With Implicit Filler Bytes (Item 5) 23-8
Example 23-7. C/C++ Check-Sum Function (Item 2, Item 9) 23-9
Example 23-6. C/C++ External Structure With Misaligned Parts (Item 8) 23-9
Figures
Figure i. Organization of HP C and C++ Documentation Set xxvi
Figure 19-1. Memory Models 19-8
Tables
Table i. Program Development Manuals and Online Help xxvii
Table ii. Guardian Environment Manuals xxviii
Table iii. Open System Services (OSS) Environment Manuals xxix