CString.Format %s 字符串 要用char *

CString.Format %s 字符串
错了,应该是:
std::string str;
CString sql;
sql.Format("%s",str.c_str());
所以正确的说法是%s c字符串
原文地址:https://www.cnblogs.com/hongjiumu/p/3525510.html