请大家找出错误
#include <iostream>
using namespace std;
class tree{
int height;
public :
tree(int h);
~tree();
}
tree::tree(int h){
height=h;
cout<<dec<<heignt<<endl;
}
tree::~tree(){
cout<<"the tree is not tall."<<endl;
}
void main(){
tree t(5);
}
编译时出现Error spawning cl.exe错误为什么