我想将数据结构复制到另一个
struct times{ QString name; double time1; double time2; double time3; }; /..../ times *abc = new times[10]; times *abc2 = new times[10];
如何在不复制指针的情况下将abc复制到abc2中?
c++ arrays structure
arrays ×1
c++ ×1
structure ×1