The Sqlite C++ API


by Mark Mahoney


This is a short introduction to using Sqlite in a C++ program. It covers how to use the Sqlite API to create tables, insert, retrieve, update, and delete data. The first program does not use an OO approach. The second one does. After reading these programs you should be able to write your own C++ programs that interact with a database.