Cocos2d-x SQLite

2、初步使用 在HelloworldScene中,添加 #include "sqlite3.h" 而后在init函数中编写代码 sqlite3 *pDB = NULL;//数据库指针 char * errMsg = NULL;//错误信息 std::string sqlstr;//SQL指令 int result;//sqlite3_exec返回值 //打开一个数据库,若是该数据库不存
相关文章
相关标签/搜索