std::string test;
CString temp;
temp = test.c_str();
博客展示了信息技术领域中std::string与CString的转换代码。代码中定义了std::string类型的变量test和CString类型的变量temp,并将test转换为C风格字符串赋值给temp。
std::string test;
CString temp;
temp = test.c_str();
1230
1076
1万+

被折叠的 条评论
为什么被折叠?