【发布时间】:2015-06-11 10:22:41
【问题描述】:
这是我正在使用的结构:
struct nodeList//a node structure
{
int jump;
int config;
int level;
int shifts[200];
int shift_diff[200];
struct nodeList *next;
};
我想创建一个可用于引用此类结构变量的指针的二维数组,即该数组的任何元素都可以分配一个指向结构变量的指针。如果可能的话,我宁愿使用 malloc 动态创建数组。任何指针(双关语无意)将不胜感激。
【问题讨论】:
-
什么是
struct struct? -
感谢您指出......我猜是使用 sublime 测试和控制 + d 的缺点