SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
See SQLiteC++ website on GitHub.
Keywords: sqlite, sqlite3, C, library, wrapper C++, simple example
SQLiteC++ offers an encapsulation around the native C APIs of SQLite, with a few intuitive and well documented C++ classes.
Copyright (c) 2012-2020 Sébastien Rombauts ([email protected])
Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or copy at http://opensource.org/licenses/MIT)
Use git to clone the repository. Then init and update submodule "SQLiteCpp".
git clone https://github.com/SRombauts/SQLiteCpp_Example.git
cd SQLiteCpp_Example
git submodule init
git submodule update
Use build.bat or ./build.sh script, or cmake command line (example for Linux):
mkdir -p build
cd build
# Generate a Makefile for GCC (or Clang, depanding on CC/CXX envvar)
cmake ..
# Build (ie 'make')
cmake --build .
On Windows, you can also open the Visual Studio Solution (in the build/ subdirectory).
Launch build/SQLiteCpp_Example(.exe) from the command line
The most efficient way to help and contribute to this wrapper project is to use the tools provided by GitHub:
- please fill bug reports and feature requests here: https://github.com/SRombauts/SQLiteCpp/issues
- fork the repository, make some small changes and submit them with pull-request