Each sample program is in a subdirectory of the <install_path>/samples/cpp directory.
The software that is supported for developing C applications is listed in Development environments.
On Windows, each sample program can be built using the supplied command files. For example, to build the basic ECI sample ecib1.cpp, go to the eci subdirectory and process the ecib1mak.cmd file. All C++ samples can be built by changing to the <install_path>/samples/cpp directory and procssing the sampmak.cmd file.
make -f samp.mak
Linux on POWER® supports the use of IBM® XL C++ and GNU C++. To compile the C++ sample programs using the IBM XL C++ compiler, use the command:
make -f samp.mak COMPILER=XL