当前位置:数据库 > SQLite >>

DEVC++ 使用sqlite 错误

#include <cstdlib> #include <iostream> #include <sqlite3.h> using namespace std; int main(int argc, char *argv[]) { sqlite3 *db; int rc = sqlite3_open("sun.db", &db); system("PAUSE"); return EXIT_SUCCESS; } 报错是: [linker error]undefined reference to 'sqlite3_open' Id returned 1 exit status
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,