Needful Software

SQLite

    SQLite

     File: main.c
    #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;
    }