摘要: struct node{ node* p; int n;}; //在末端插入int link_insert_back( node** plink, int value ){ int nret = 0 node* current; node* newnode; while( (current = *p 阅读全文
posted @ 2017-02-08 17:14 品山 阅读(111) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-02-08 15:57 品山 阅读(12) 评论(0) 推荐(1) 编辑
摘要: 编译驱动要确保电脑上有qt源码,如果没有源码需要自己下载 1.将mysql安装目录下的include和lib两个文件夹拷贝到qt\4.7.4\src\plugins\sqldrivers\mysql下。可以自己新建一个目录如mysqllib。2.修改mysql.pro文件,在第二行添加如下内容 IN 阅读全文
posted @ 2017-02-08 15:57 品山 阅读(1760) 评论(0) 推荐(1) 编辑
摘要: void ReadFile(QString filename){ QStringList m_sqllist_config; QString sqlall; QString FileName; FileName = "scripts/config/" + filename; QFile file(F 阅读全文
posted @ 2017-02-08 15:56 品山 阅读(1863) 评论(0) 推荐(1) 编辑
摘要: Qt:在一个目录下查找指定文件/* 函数功能:通过Qt实现在一个目录下查找指定文件 参数:strFilePath,要搜索的路径 filename,要搜索的文件名*/ void FindLocalFileFromPath(const QString &strFilePath, const QStrin 阅读全文
posted @ 2017-02-08 15:55 品山 阅读(10107) 评论(0) 推荐(1) 编辑