Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Relationship between the C++ library and the C runtime system

&pagelevel(3)&pagelevel

The C runtime system included in the CRTE SYSLNK.CRTE library is a prerequisite for the use of the C++ library functions. The library containing the C runtime system must be specified both for compiling and for linking a C++ program using the C++ library functions (please refer to your C++ User Guide).

Functions such as the C++ standard I/O functions are actually implemented by internal calls to various C runtime system input/output routines.

Except for record-oriented input/output, the C++ input/output functions can perform any file access method that can be performed by the C library functions.
Whenever there are differences between KR and ANSI functionality in the C runtime system, ANSI functionality is always applicable to the execution of C++ library functions.

Please refer to the "C Library Functions" manual for more detailed information on file processing, ANSI functionality, buffering, etc.