动态数组可不可以嵌套使用
动态数组可否嵌套使用
typedef struct target_info //目标信息
{
float tA;
float tS;
float tR;
float tD;
bool highlight;
CPoint position;
}tinf;
typedef struct target_team //每批次数据
{
int nTgt;
int cnt_disptime;
bool flag_disp;//是否显示航迹点
CArray <tinf,tinf&> tgt_info;
}tteam;
CArray <tteam,tteam&> tgt_team;
------解决方案--------------------
动态数组可以嵌套
------解决方案--------------------
嵌套定义 还区分动态数组和静态数组?
typedef struct target_info //目标信息
{
float tA;
float tS;
float tR;
float tD;
bool highlight;
CPoint position;
}tinf;
typedef struct target_team //每批次数据
{
int nTgt;
int cnt_disptime;
bool flag_disp;//是否显示航迹点
CArray <tinf,tinf&> tgt_info;
}tteam;
CArray <tteam,tteam&> tgt_team;
------解决方案--------------------
动态数组可以嵌套
------解决方案--------------------
嵌套定义 还区分动态数组和静态数组?