U3D的结构体堆分配栈分配

ST ot;//分配在栈上
ST[] arrt = new ST[2];//分配在堆上,因为数组是引用

原文地址:https://www.cnblogs.com/timeObjserver/p/9596433.html