aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-06-02 00:25:05 +0530
committerAkshay Nair <phenax5@gmail.com>2026-06-02 00:25:05 +0530
commit6cb596cafa71b8c8d3521deb0521c0969942fb3a (patch)
treeff29fda05008f27235bd0520f6a377e628d98081 /src
parent219227c9171f2402939b0c6b12606e52f0c2de99 (diff)
downloadsqlite-creative-coding-6cb596cafa71b8c8d3521deb0521c0969942fb3a.tar.gz
sqlite-creative-coding-6cb596cafa71b8c8d3521deb0521c0969942fb3a.zip
Just the tip
Diffstat (limited to 'src')
-rw-r--r--src/main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..23d6e58
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,17 @@
+#include <sqlite3.h>
+#include <stdio.h>
+
+int main(void) {
+ sqlite3 *db;
+
+ sqlite3_open("fun.db", &db);
+ if (db == NULL) {
+ printf("Unable to open db\n");
+ return 1;
+ }
+
+ printf("Foobar\n");
+
+ sqlite3_close(db);
+ return 0;
+}