69,379
社区成员
发帖
与我相关
我的任务
分享
//在这句前面打印看看ncount的值是多少
RankLen=ncount;
//还有你这个RankLen是怎么定义申明的?
struct Resolution
{
int *Vector;
int Value;
};
Resolution *Re;
Re=(Resolution *)malloc(n*sizeof(Resolution)); //分配空间
//malloc
struct NodeLevel *ItemSets2 = (struct NodeLevel *)malloc(sizeof(struct NodeLevel)*((M_COL-1)*M_COL/2));
//new
struct NodeLevel *ItemSets3 = new NodeLevel[(M_COL-1)*M_COL/2];
全局问题,比较简单位置换下或者静态的!