从VCL转过来,开始使用VS2005,还很不习惯。

来源:互联网 发布:鸽子蛋 鸡蛋 知乎 编辑:程序博客网 时间:2024/05/16 11:28

BCB

AnsiString s="123131";

int i=s.ToInt();

 

VC

CString s=_T("123131");

int i=_wtoi(s);

 

感觉用起来是没有VCL舒服,想起了在论坛看到有人说过一句话:“VC的好处和坏处都是:什么都得自己做”。