[cpp]view plaincopy////////////////////////////////////////////////////////////////////StringEffect-字符串效果////Author:木头云//Blog:http://blog.csdn.net/mar... Read More
posted @ 2015-12-03 22:10
findumars
Views(1839)
Comments(0)
Diggs(0)
现在我们有这样一坨代码: [cpp] view plaincopy std::vector<int> arr; // ... for(std::vector<int>::iterator iter = arr.begin(); iter != arr.end(); ++iter) { // ... Read More
posted @ 2015-12-03 22:08
findumars
Views(9463)
Comments(0)
Diggs(2)
Wrote by mutouyun. (http://darkc.at/cxx-get-the-name-of-the-given-type/) 地球人都知道C++里有一个typeid操作符可以用来获取一个类型/表达式的名称: [cpp] view plaincopy std::cout << ty Read More
posted @ 2015-12-03 22:03
findumars
Views(4250)
Comments(0)
Diggs(2)
这个也是好奇msn的协议还是2011年的时候写的, 就在网上找啊找啊, 可惜要不是不能用就是C++代码还有就是不完整, 到最后我也没弄成功,只到了下面这步就挂掉了......登录成功BLP 8 BLADL 9 11 断开与->64.4.44.92现在公布出来吧, 代码写得不是很好, 有三个函数是改自... Read More
posted @ 2015-12-03 21:55
findumars
Views(612)
Comments(0)
Diggs(0)
最近在考虑写一个可以跨平台的通用字符串类,首先需要搞定的就是编码转换问题。vs默认保存代码文件,使用的是本地code(中文即GBK,日文即Shift-JIS),也可以使用带BOM的UTF-8。gcc则是UTF-8,有无BOM均可(源代码的字符集可以由参数-finput-charset指定)。那么源代... Read More
posted @ 2015-12-03 21:53
findumars
Views(3672)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号