Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Determining the main routine z/OS Language Environment Writing Interlanguage Communication Applications SA38-0684-00 |
||||||||||
In C and C++ the main routine is the function called main(). In a C to C++ ILC application only one main() function is allowed. Multiple main() functions will result in errors. Recursive calls to the main() function are not supported in C++. An entry point is defined for each supported HLL. Table 1 identifies the desired entry point. The table assumes that your code has been compiled using the Language Environment-conforming compilers. See z/OS XL C/C++ Runtime Library Reference for the description of the requirements for fetching C++.
|
Copyright IBM Corporation 1990, 2014
|