Back to Yugabyte Db

Build apps with C++ Drivers and ORMs

docs/content/stable/develop/drivers-orms/cpp/_index.md

2026.1.0.0-b251.0 KB
Original Source

Supported projects

The following projects are recommended for implementing C++ applications using the YugabyteDB YSQL/YCQL API.

ProjectExample apps
libpqxx C++ DriverHello World
YugabyteDB C++ driver for YCQLHello World

For fully-runnable code snippets and explanations of common operations, see the example apps. Before running the example apps, make sure you have installed the prerequisites.

Prerequisites

To develop C applications for YugabyteDB, you need the following:

  • Machine and Software requirements

    • a 32-bit (x86) or 64-bit (x64) architecture machine.
    • gcc 4.1.2 or later, clang 3.4 or later installed.
  • YugabyteDB cluster

    • Create a free cluster on YugabyteDB Aeon. Refer to Use a cloud cluster. Note that YugabyteDB Aeon requires SSL.
    • Alternatively, set up a standalone YugabyteDB cluster by following the steps in Install YugabyteDB.

Next step