#include
using namespace std;
class Shop {
string str;
public:
Shop(const string s = "") { str = s; }
string get()const { return str; }
};
int main()
{
Shop ob("DAISO");
Shop* P = ① ;
cout << P->get() << endl;
return 0;
}
①的地方我写的是new Shop(ob),结果也是能实行出要求的DAISO的,但是说不对让我回来重解,我想问一下除了new Shop(ob),①还能填什么
①在哪里???