c++ : Create database using SQLite for Insert & update

前端 未结 3 1057
自闭症患者
自闭症患者 2020-12-30 07:50

I am trying to create a database in c++ using sqlite3 lib.. I am getting error sqlite3_prepare_v2\'
was not declared in this scope
as shown in logcat.<

3条回答
  •  抹茶落季
    2020-12-30 08:12

    go through this link. I am not sure. It might help you out.

    I think their is no sqlite3_prepare_v2 in sqlite3.h lib, so try this.. sqlite3_prepare_v2 can be replaced by sqlite3_prepare, but more care is needed, because it changes the semantics of subsequent calls slightly.

提交回复
热议问题