Joachim M. Giæver 3e032f4f6b Init commit in new repo | %!s(int64=8) %!d(string=hai) anos | |
---|---|---|
.gitignore | %!s(int64=8) %!d(string=hai) anos | |
LICENSE | %!s(int64=8) %!d(string=hai) anos | |
Makefile | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
common.c | %!s(int64=8) %!d(string=hai) anos | |
common.h | %!s(int64=8) %!d(string=hai) anos | |
sql.c | %!s(int64=8) %!d(string=hai) anos | |
sql.h | %!s(int64=8) %!d(string=hai) anos | |
sql.sqlite3 | %!s(int64=8) %!d(string=hai) anos |
Find it hard to use SQLite3 library in C? This wrapper makes you life easier by adopting syntaxes from many other known languages.
Try it out after cloning:
make
$ ./sql-test
Remember to install SQLite3 first, and notice the linker option in the makefile - to link everything together. On Debian based systems:
$ sudo apt-get install sqlite3
Enjoy.