typedef struct
{
double x,y;
}TPoint;
typedef struct
{
TPoint Start,Stop;
}TLineSeg;
typedef struct
{
TPoint Start,Stop,Center;
double R;
int sun_ni_f;
}TCircle;
TLineSeg xianduan,daobu_xuanduan;
TCircle yuan,daobu_yuan;
TPoint pianyi;
如果放在函数内做局部变量就通不过,而做全局变量就能通过,为什么? |