求大神解答。。很急
#include<iostream>
using namespace std;
class Human{
public:
void get_high(int x){
high=x;
cout<<high<<endl;}
void get_weight();
public:
int high;
int weight;
};
void Human::get_weight(int y){weight=y;
cout<<weight<<endl;}
int main(){
Human wlh;
wlh.get_high(170);
wlh.get_weight(60);//编译器指出这条语句出现问题,,出错在哪呀。。求指教
return 0;
}