我想构建一个由dervied类对象组成的数组。:如果我想创建另一个名为CandyBag的类,它包含一个类似于CandyBox** vec = new CandyBox*[n];的属性,并且我需要这个方法,该怎么办: CandyBag& operator// I need to allocate memory for that vec[i] first return *this;
} 如果我不知道vec[i]的类型(如果它是ChocAmor<
我有一个关于void*和void**的问题,我知道这是一个古老的问题,以前在stackoverflow中已经(有点)被问过了。所以问题是这样的:zz.c: In function ‘main’:zz.c:9: note: expected ‘void **’ but argument is of type ‘float **’
为什