2019年11月19日

c++ 调用 sqlcipher

摘要: #include <iostream> #include <string.h> #include "sqlite3.h" using namespace std; static int callback(void *notUsed, int argc, char **argv, char **azColName) { for (int i = 0; i < argc; i++) cout << a 阅读全文

posted @ 2019-11-19 18:44 空明流光 阅读(2595) 评论(0) 推荐(0)

c++ 调用 sqlite

摘要: #include #include "sqlite3.h" using namespace std; void dbTest() { #pragma region 打开或创建数据库 /*打开或创建的数据库实例句柄*/ sqlite3 *db = NULL; /*数据库文件的路径及文件名*/ const char * path = "./sqlcipher... 阅读全文

posted @ 2019-11-19 18:22 空明流光 阅读(992) 评论(0) 推荐(0)

导航