本文共 423 字,大约阅读时间需要 1 分钟。
VS2008下使用CppSQLite3访问xgs黑名单表(SQLite数据库)
2014年4月9日17:32:10
代码:
#include#include #include "CppSQLite3.h"#include using namespace std;int main(){ printf("hello,world!\n"); CppSQLite3DB db; db.open("ETCVoidCard.db3"); CppSQLite3Query query = db.execQuery("select * from ETCVOIDCARD"); //while(!query.eof()) if(!query.eof()) { cout<<"CARDNETWORK:"< <<" CARDID:"< <
转载地址:http://fnwci.baihongyu.com/