sqlite is not a client library used to connect to a big database server. sqlite is the server. the sqlite library reads and writes directly to and from the database files on disk. 【程序编程相关:eVC使用手记】
this is an extension for the sqlite embeddable sql database engine. sqlite is a c library that implements an embeddable sql database engine. programs that link with the sqlite library can have sql database access without running a separate rdbms process. 【推荐阅读:最近做了个短期程序“百度MP3搜索”,把】
在 vc工程目录下 设置 link l/对象类模块 为 sqlite3.lib 【扩展信息:做界面时使两控件对齐的方法】 c/c++ 分类 precompiled header 选择不使用预补偿页眉 首先将sqlite3的七个文件放在与vc工程文件同一目录下 在工程中加入 cppsqlite3db.cpp与cppsqlite3db.h文件 # include "cppsqlite3.h" extern cppsqlite3db db;/////数据库对象 remove("c:\\test.db"); db.open("c:\\test.db");///打开数据库文件 建立表格: db.execdml("create table customer(customername char(50), roomnumber int, customerid int, cometime int,money int);"); db.execdml("create table room(roomnumber int, roomprice int, roomstate char[20]);");... 下一页