摘要:
前提:安装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 阅读全文