C++ Samples

The C++ sample applications are currently combined with the C API and embedded SQL API samples. The build procedure for the C++ API SDK samples on all supported platforms is described in the "Getting Started" section.

By default, all sample executables are built in the eXtremeDB/target/bin directory so, after building the sample(s), it is convenient to cd to target/bin to run the sample or, as recommended, step through the code in the development system debugger. Please use the links below to view the description and specific instructions for individual samples in the following subdirectories:

\native\core\20_languages\cpp
Demonstrates the eXtremeDB C++ (-hpp) schema compiler option.
\native\core\20-languages\cpp_smartptr
Demonstrates the C++ smart pointer (-smartptr) schema compiler option.
\native\sequences\api\cpp
Demonstrates the use of various operations using the sequence data type.
\native\sequences\inetdb\cpp
Demonstrates the use of the sequence data type using character arrays.
\native\sql
Demonstrates embedded SQL sample applications.