📜  找不到 -lsqlite3 C++ 编译器错误 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.384000             🧑  作者: Mango

代码示例1
to use sqlite3 in your C++ / C source code you should download
the amalgamation C source file at "https://www.sqlite.org/download.html"
  
then extract the source files in your source folder.
  
Then in your code you include sqlite3 with :
#include "sqlite3.h"

and finaly you compile your program with :
gcc yourSourceFile.cpp sqlite3.c -o yourExeFile.exe