且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

'sqlite3_api'未在此作用域中声明

更新时间:2023-11-12 16:29:46

/ p>

Instead of

#include <sqlite3ext.h> 

#include <sqlite3.h> 

只需要 sqlite3ext.h 如果你要写一个SQLite扩展 - 一个自定义函数,例如。对于常规数据库访问,请使用 sqlite3.h

The sqlite3ext.h file is only needed if you are going to write an SQLite extension - a custom function, for example. For regular database access, use sqlite3.h.