摘要: SCtring str(_T("你好!")); USES_CONVERSION; char* p = T2A(str.GetBuffer(0)); str.ReleaseBuffer(); 找了好久,终于用这个方法做到了,这个是微软现成的转换函数。在做mfc与php socket中文字符传输时用到的 阅读全文
posted @ 2018-04-29 12:24 清上人 阅读(381) 评论(0) 推荐(0) 编辑
摘要: XML处理是开发过程中经常遇到的,PHP对其也有很丰富的支持,本文只是对其中某几种解析技术做简要说明,包括:Xml parser, SimpleXML, XMLReader, DOMDocument。 1。 XML Expat Parser: XML Parser使用Expat XML解析器。Exp 阅读全文
posted @ 2017-12-19 17:04 清上人 阅读(1111) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.csdn.net/hguisu/article/details/7448528 阅读全文
posted @ 2017-10-04 10:41 清上人 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.cnblogs.com/lx63blog/articles/5635169.html 阅读全文
posted @ 2017-10-03 23:50 清上人 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 转自http://www.cnblogs.com/idontknowthisperson/p/5958536.html 阅读全文
posted @ 2017-10-03 23:11 清上人 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 方便以后查看 译文地址:http://www.cnblogs.com/taceywong/p/4568806.html 原文地址:http://scikit-learn.org/stable/tutorial/basic/tutorial.html 阅读全文
posted @ 2017-09-16 10:29 清上人 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 学习的时间长了,好多东西容易混淆,容易遗忘,在这里做个小小的记录,方便以后查看。 JS自带函数concat将两个或多个字符的文本组合起来,返回一个新的字符串。var a = "hello";var b = ",world";var c = a.concat(b);alert(c);//c = "he 阅读全文
posted @ 2017-09-10 16:12 清上人 阅读(242) 评论(0) 推荐(0) 编辑