摘要: 前提:安装mysql 和mysql++、mysql++-devel程序:#include<iostream>#include "mysql++.h"#include <string>using namespace mysqlpp;using namespace std;int main(){ char usrstr[30]; bool userexist=false; cout<<"Please input your username:"; cin>>usrstr;//建立连接 mysqlpp::Conne 阅读全文
posted @ 2011-06-28 20:56 jewel_jia 阅读(418) 评论(0) 推荐(0) 编辑