悉野小楼

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

统计

03 2014 档案

【转】一个URL编码和解码的C++类
摘要:下面的代码实现了一个用于C++中转码的类strCoding。里面有UTF8、UNICODE、GB2312编码的互相转换。.H文件:#pragma once#include #include #include using namespace std;class strCoding{public: strCoding(void); ~strCoding(void); void UTF_8ToGB2312(string &pOut, char *pText, int pLen);//utf_8转为gb2312 void GB2312ToUTF_8(string& pOut... 阅读全文

posted @ 2014-03-25 19:48 悉野 阅读(1034) 评论(0) 推荐(0) 编辑

ofstream的问题
摘要:ofstream在多字节编码的项目中, 写入中文目录写不了, 英文目录可以换成c库的fopen, fwrite可以 阅读全文

posted @ 2014-03-11 16:08 悉野 阅读(189) 评论(0) 推荐(0) 编辑

如何解决"应用程序无法启动,因为应用程序的并行配置不正确"问题(转载)
摘要:应用程序事件日志中:“C:\windows\system32\test.exe”的激活上下文生成失败。 找不到从属程序集 Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"。 请使用 sxstrace.exe 进行详细诊断。出现这类问题,是由于VC2005编译出来的程序文件,采用了manifest方式来指定dll文件。对于win98、 阅读全文

posted @ 2014-03-03 15:28 悉野 阅读(1558) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示