MySQL Connector/C++ 1.1 Developer Guide

Chapter 6 Connector/C++: Usage Examples

Source distributions of Connector/C++ include an examples directory that contains usage examples that explain how to use the following classes:

The examples cover:

Several examples in this document are only code snippets, not complete programs. These snippets provide a brief overview on the API. For complete programs, check the examples directory of your Connector/C++ installation Please also read the README file in that directory. To test the example code, edit the examples.h file in the examples directory to add your connection information, then rebuild the code by issuing a make command.

The example programs in the examples directory include: