/* This program is copied from http://www.sqlite.org/quickstart.html */
/*
Below is a simple C program that demonstrates how to use the C/C++
interface to SQLite. The name of a database is given by the first
argument and the second argument is one or more SQL statements to
execute against the database. The function calls to pay attention
to here are the call to sqlite3_open() on line 22 which opens the
database, sqlite3_exec() on line 27 that executes SQL commands
against the database, and sqlite3_close() on line 31 that closes
the database connection.
*/
#include
#include
static int callback(void *NotUsed, int argc, char **argv, char **azColName){
int i;
for(i=0; i