我定义了一个数据结构如下:
struct image{
unsigned int width, height;
unsigned char *data;
};
上面定义的结构数组将类似于:
struct image input[NR_FRAMES];
如果我想要另一个数组,比方说,它具有上述结构的streams
元素数组,我将如何声明它?streams[i]
我定义了一个数据结构如下:
struct image{
unsigned int width, height;
unsigned char *data;
};
上面定义的结构数组将类似于:
struct image input[NR_FRAMES];
如果我想要另一个数组,比方说,它具有上述结构的streams
元素数组,我将如何声明它?streams[i]