//递归求树的高度 孩子链存储
int TreeHeight(TSonNode *t)
{
TSonNode *p;
int i,h,maxh=0;
if(t==null) return 0;
else
{
for(i=0;i<MaxSons;i++)
{
p=t->son[i];
if(p!=null)
{
h=TreeHeight(p);
if(maxh<h) maxh=h;
}
}
return maxh+1;
}
}