写c++代码时遇到了关于CString的一些问题,收录如下: 问题:未定义标识符“CString” 解决方案: 添加c++头文件#include <atlstr.h> 问题:没有与参数列表匹配的重载函数——Format CString errormessage; errormessage.Format("错误信息:%s", e.ErrorMessage());