Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Created August 30, 2012 22:34
Show Gist options
  • Save jc00ke/3543361 to your computer and use it in GitHub Desktop.
Save jc00ke/3543361 to your computer and use it in GitHub Desktop.
first C program!
#include <stdio.h>
#include "sqlite3.h"
int main(int argc, char *argv[]){
int res = sqlite3_threadsafe();
printf("it returned %d\n", res);
return 0;
}
gcc check.c -Wall -lsqlite3 -ldl -lpthread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment