1. 用strtol函数 2. 拆分字符,比如: CString str="ab"; int a=atpi(str.GetAt(0))*16+atoi(stt.GetAt(1);
3,248
社区成员
48,530
社区内容
加载中
试试用AI创作助手写篇文章吧