为什么我会收到此错误?
不存在从 std::string 到 std::string 的合适转换函数吗?错误出现在 memcpy (value, (string*)(adress), sizeof(value)) 中的 ',';
int main ()
{
string adress;
cout << "Please, enter the adress you want to access: " << endl << endl;
getline (cin,adress);
cout << "The adress is : " << adress << endl << endl;
getchar();
string value[512];
memcpy (value, (string*)(adress), sizeof(value));
cout << "The value of " << adress << " is: " << adress;
getchar();
return 0;
}