#include <stdio.h>main(){ int a=8,c;struct tagMystruct{ int iNum; long ILength;}
AAA.ILength=a; c=AAA.ILength; printf("%d",c); }运行,错误
你还没有定义那个变量AAA#include <stdio.h>main(){ int a=8,c;struct tagMystruct{ int iNum; long ILength;}; struct tagMystruct AAA;
AAA.ILength=a; c=AAA.ILength; printf("%d",c);}
[此贴子已经被作者于2007-3-16 18:42:20编辑过]