AAA.iNum
AAA.ILength
----------------解决方案--------------------------------------------------------
#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编辑过]
----------------解决方案--------------------------------------------------------
哦,谢谢啊,今天长知识了啊
----------------解决方案--------------------------------------------------------