动态生成结构体数组
我最开始定义的是一个全局的结构体数组
#define M_COL 14
struct NodeLevel {
int Item;
int brother;
int support;
};
struct NodeLevel ItemSets2[(M_COL-1)*M_COL/2];
我现在想动态构造这么一个结构体数组,也是全局的,怎么定义?请大侠指点
#define M_COL 14
struct NodeLevel {
int Item;
int brother;
int support;
};
struct NodeLevel ItemSets2[(M_COL-1)*M_COL/2];
我现在想动态构造这么一个结构体数组,也是全局的,怎么定义?请大侠指点
...全文


