C++笔记
m278261
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++ ABC(2)
关键字列表 asm do if return typedef auto double inline short typeid bool dynamic_cast int signed typename break else long sizeof union case enum mutable static unsigned catch explicit namespace stati...原创 2011-07-21 10:35:39 · 248 阅读 · 0 评论 -
Ansistring转换
Ansistring 转 char 代码: void __fastcall TForm1::Button1Click(TObject *Sender) { AnsiString Test = "哈哈"; char *chr = Test.c_str(); } char转Ansistring 代码: #include ...原创 2011-07-29 15:34:30 · 439 阅读 · 0 评论 -
bcb 转换
//如果文件已经存在 则修改为可写 -m char* pAnsi = sFileName.c_str(); int nIndex = MultiByteToWideChar(CP_ACP, 0, pAnsi, -1, NULL, 0); TCHAR *pUnicode = new TCHAR[nIndex + 1]; MultiByteToWideChar(CP_ACP, 0,...原创 2011-07-29 17:32:28 · 246 阅读 · 0 评论
分享