When I try to compile it as part of the objective-c program, it warns:
WARNING: 1 argument of 'sqlite3_close' with incompatible pointer type is passing
sqlite3 * db; Sqlite3_open ("~ / Document / TestDB. SQLite", & amp; db); / * Accessories * / sqlite3_close (& amp; db);
Almost the same error is given by almost any other function call which is & amp; Db
.
I do not think you need second and
... if It's anything like plain C, so you just want to call sqlite3_close (db);
(By which the pointer passes it instead of the indicator's address.) sqlite3_open
call, I believe, as will be left.
Comments
Post a Comment