Chapter 6. The C/C++ Interface

In this chapter we will look at how SQLite's C/C++ interface can be incorporated into your programs. We will discuss the different ways of querying a database and look at how you can add your own custom functions to SQLite.

Preparing to Use the C/C++ Interface

In order to develop software with an embedded SQLite database, you need to make sure your system has the SQLite development library installed. The latest version can always be downloaded from

If you have already installed and used sqlite as a precompiled binary, you will not necessarily have the library yet. For Linux, the precompiled library is and for Windows it is If you also want to use the TCL ...

Get SQLite now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.