卖拼拼豆豆图纸软件:关于结构体的一个问题

来源:百度文库 编辑:高考问答 时间:2024/04/28 06:05:22
struct tagPOINT{
LONG x;
LONG y;
};
tagPOINT poly1[],poly2[],poly3[];
为什么这样会出错
error C2011: 'tagPOINT' : 'struct' type redefinition

定义变量的地方要这样写:
struct tagPOINT poly1[],poly2[],poly3[];
另外不大明白 “poly1[]” 中“[]”是什么意思

English看不懂