用非递归的方式
int GetHeight( BinTree BT )
{
BinTree s[1000][1000];
int c=0,ph=0,h=0;
s[0][0]=BT;
while(s[c][0]){
for(h=0,ph=0;s[c][ph];ph++){
if(s[c][ph]->Left)
s[c+1][h++]=s[c][ph]->Left;
if(s[c][ph]->Right)
s[c+1][h++]=s[c][ph]->Right;
}
c++;
}
return c;
}