C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Contents
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
xiv
C. ASCII Character Set
C. ASCII Character Set
Overview C-1
ASCII Character Set in Numeric Order C-1
ASCII Character Set in Alphabetic Order C-6
D. Data Type Correspondence
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-6
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-8
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-9
Example 23-4. C/C++ Pointer Union (Item 3, Item 10) 23-9
Example 23-5. C/C++ Structure With Implicit Filler Bytes (Item 5) 23-9
Example 23-7. C/C++ Check-Sum Function (Item 2, Item 9) 23-10
Example 23-6. C/C++ External Structure With Misaligned Parts (Item 8) 23-10