I\'m trying to get started with the C++ API for SQLite.
#include
#include
using namespace std;
int main()
{
sqlite3
First step: Install all library sqlite3 with the command:
sudo apt-get install libsqlite3-dev
With that you can use #include in a programm of C or C++.
Second step: To compile the program by console:
C++:
g++ program.cpp -o executable -lsqlite3
./executable
C:
gcc program.c -o executable -lsqlite3
./executable