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 http://www.sqlite.org/download.html.

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 sqlite.so.gz and for Windows it is sqlitedll.zip. If you also want to use the TCL ...

Get SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.