> > ---
> > rc = sqlite3_open("test.db", db)
> 
> You are not passing the correct arguments to sqlite3_open. The
> compiler should have noticed this...
> 
> If you are declaring the variable db like "sqlite3 *db;" you have to
> call sqlite3_open like:
> rc = sqlite3_open("test.db", &db);
> 
> That should fix things.

It's not C code.

Reply via email to