C++笔记
m278261
这个作者很懒,什么都没留下…
展开
-
C++ ABC(2)
关键字列表asm do if return typedefauto double inline short typeidbool dynamic_cast int signed typenamebreak else long sizeof unioncase enum mutable static unsignedcatch explicit namespace stati...原创 2011-07-21 10:35:39 · 190 阅读 · 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 · 371 阅读 · 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 · 183 阅读 · 0 评论