Equivalent data types for COBOL to C++

This section uses language samples to describe data type equivalencies in COBOL to C++ applications.

Note: In the declarations that follow, examples showing the use of extern "C" apply only to Enterprise COBOL for z/OS, COBOL for OS/390 & VM, and COBOL for MVS & VM. The examples showing extern "COBOL" apply to Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM, COBOL/370, and VS COBOL II.