- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Qt5+mysql windows
pro文件中添加QT += sql添加动态库window下直接将libmysql.dll拷到exe文件目录下cpp文件#include #include #include #include #include #include int main(int argc, char *argv[]){ QCoreApplication a(argc, argv);
2017-07-10 17:49:26 231
原创 IDE:vs2013 ,开发语言c++,gsoap开发WebService全解
1编写头文件my_head.h2将soapcpp2.exe和my_head.h两个文件放在同一路径。my_head.h为自己编写的文件。3命令行转到两个文件所在路径,执行 "soapcpp2.exe my_head.h"会生成如下文件4新建空项目,将下图中高亮了6个文件考入工程中5将两个系统文件考入工
2016-08-22 10:43:58 454
原创 mfc中 CString转char*
char * cs2ca(CString str, char * cstr){if (cstr==NULL){return cstr;}char *ptr = cstr;#ifdef _UNICODELONG len;len = WideCharToMultiByte(CP_ACP, 0, str, -1, NULL, 0, NULL, NULL);//pt
2016-05-18 12:42:57 301
原创 MFC中分割字符串
用了C#中的Split函数,决定C++里写一个头文件中void Split(CString strSource, CStringArray& strDest, const wchar_t *seps = _T(","));源文件中void Split(CString strSource, CStringArray& strDest, const wchar_t* sep
2016-03-16 19:20:43 418
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人