2022年7月21日

C++ 增删改查xml

摘要: 之前需要下载别人开发好的资源:TinyXML download | SourceForge.net 然后在你的工程中引入以下6个文件,并且在使用的时候包含两个头文件: 下面就是在按钮响应函数中运用了。 创建xml void BuilderXml() { TiXmlDocument xmlDocume 阅读全文

posted @ 2022-07-21 10:13 wu.g.q 阅读(206) 评论(0) 推荐(0) 编辑

目录不存在,递归创建目录(MFC)

摘要: CString GetDirectoryRemoveRightBackSlash(const CString& strPath) { int nIndex = strPath.ReverseFind('\\'); if (nIndex == -1) { return CString(); } ret 阅读全文

posted @ 2022-07-21 10:01 wu.g.q 阅读(111) 评论(0) 推荐(0) 编辑

导航