sscanf() 获取CString中的字符串

char _szBufColorValue[512] = {0};
sscanf(_strText, "Key=%s", _szBufColorValue);
CString _strValue;
_strValue.Format("%s", _szBufColorValue);
_Param.strKey = _strValue;

猜你喜欢

转载自blog.csdn.net/zy499/article/details/53330397