调用string.c_str()
int main()
{
const string str1 = "aaaa ";
LPCSTR s1 = str1.c_str();
cout < <s1 < <endl;
return 0;
}
调用string.c_str()
int main()
{
const string str1 = "aaaa ";
LPCSTR s1 = str1.c_str();
cout < <s1 < <endl;
return 0;
}