我想在字符串指针中存储静态值是否可行?
如果我喜欢
string *array = {"value"};
发生错误
error: cannot convert 'const char*' to 'std::string*' in initialization
c++ string
c++ ×1
string ×1