'sqlite3_api' was not declared in this scope

后端 未结 1 1330
没有蜡笔的小新
没有蜡笔的小新 2021-01-23 08:47

I\'ve been learning sqlite3 programming in C++ for the first time and this error confounds me and my internet searching abilities.

Here is my code, as far as it gets b

相关标签:
1条回答
  • 2021-01-23 09:02

    Instead of

    #include <sqlite3ext.h> 
    

    write

    #include <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.

    0 讨论(0)
提交回复
热议问题