【发布时间】:2014-01-31 13:50:02
【问题描述】:
#include <stdio.h>
typedef struct
{
int num ;
} NUMBER ;
int main(void)
{
struct NUMBER array[99999];
return 0;
}
我得到一个编译错误:
error: array type has incomplete element type
我认为问题在于我错误地声明了结构数组。我查的时候你好像是这样声明的。
【问题讨论】:
标签: c arrays struct compiler-errors