65,211
社区成员
发帖
与我相关
我的任务
分享
union _Bxty
{
char _Buf[16];
char* _Ptr;
}_Bx;
#include <iostream>
#include <string>
using namespace std;
int main()
{
const char *pstr = "123456" ; //pstr 要赋值
string s;
s = pstr;
cout << s << endl;
return 0;
}
const char *pstr;