SQLite

#include <sqlite3.h>
#include <stdio.h>

int main(int argc, char* argv[])
{
    sqlite3* db = NULL;

    int rc = sqlite3_open("MyFirstSQLiteDB.db", &db);
    if (rc != 0)
    {
        printf("Error creating database handle (return code: %d)", rc);
    }

    sqlite3_close(db);

    return 0;
}

Copyright(c) 2006-2015 Xavier Leclercq | Privacy policy

Home
Contact Us
Search