05 2018 档案
摘要:1、gcvt 把浮点数转成字符串 - CSDN博客.html(https://blog.csdn.net/dxuehui/article/details/52791412) 1.1、 函数名: gcvt 用 法: char *gcvt(double value, int ndigit, char *
阅读全文
摘要:1、C++数值类型与string的相互转换 - JohnGu - 博客园.html(https://www.cnblogs.com/johngu/p/7878029.html) 2、 1.数值类型转换为string 1.1使用函数模板+ostringstream 使用函数模板将基本数据类型(整型、字
阅读全文
摘要:1、字符串比较函数: xmlStrcmp(...) 这是大小写敏感的比较 xmlStrcasecmp(...) 这是大小写不敏感的比较(忽略字符串里面字符的大小写) 2、查找节点 2.1、循环 2.2、xpath(ZC: 暂时, 用xmlXPathEvalExpression(...)查找 ID是中
阅读全文
摘要:ZC:#include <sstream> ZC:貌似还有 istringstream 和 ostringstream ... https://www.cnblogs.com/gaobw/p/7070622.html 1、int型与string型的互相转换 最佳实践: int型转string型 vo
阅读全文
摘要:1、转成 小写/大写 #include <algorithm>using namespace std; // 转成小写transform(_strAttrNameG.begin(), _strAttrNameG.end(), _strAttrNameG.begin(), tolower);// to
阅读全文
摘要:ZC:iconv.dll、libxml2.dll、zlib1.dll 放到 exe所在目录下 1、代码来源于 帖子:XML_CPP_资料_libXml2_01_Code_ZC(?.pro) 2、代码: 3、 4、 5、
阅读全文
摘要:1、 #pragma comment(lib, "libxml2.lib")#pragma comment(lib, "iconv.lib")#pragma comment(lib, "zlib.lib") 2、 3、 4、 5、
阅读全文
摘要:https://blog.csdn.net/cbnotes/article/details/8331632 还可以看这个网址的内容:【多线程】VC6使用_beginthread开启多线程的方法-技术宅的结界 - Powered by Discuz!.html(https://www.0xaa55.c
阅读全文
摘要:ZC:具体应该设置 什么参数,可以参看 自己转载的文章:"VC.【转】采用_beginthread__beginthreadex函数创建多线程 - CppSkill - 博客园.html"(http://www.cnblogs.com/cppskill/p/9024535.html) https:/
阅读全文
摘要:ZC:Delphi中只要随便拖几个控件,设置一下属性就OK了。但是,Qt中 貌似没有 方便的方式来做这个... ZC:目前的解决方案是:Qt中 拖几个控件,然后点 工具条里面的 "栅格布局(G)" 1、想实现 类似 Delphi 中的效果:跟着 窗口大小变,上面部分的控件 不动。如下图,上面2个 b
阅读全文
摘要:ZC:可以通过 设置 (QWebView*)->setContextMenuPolicy(NoContextMenu); 来关闭 QWebView的默认右键菜单 Qt创建鼠标右键菜单_疯华正茂_新浪博客.html(http://blog.sina.com.cn/s/blog_63d0ff2d0102
阅读全文
摘要:1、VC 窗口置于前台并激活的方法 - CSDN博客.html https://blog.csdn.net/oXunFeng/article/details/52681279 2、(http://www.jb51.net/article/68681.htm) 3、百度 搜索 "激活窗口输入 VC"
阅读全文
摘要:1、ParameterAnswer_Parse(...) 下 FlistParameterOffset.clear(); 出错(list<DWORD>.clear()) (https://blog.csdn.net/lazyclough/article/details/7547610) ZC:Qt中
阅读全文