void f (Location p) { cout <<"funtion:"<<p.GetX()<<","<<p.GetY()<<endl;}Location g(){Location c (2,3);return c;}void main(){Location A (1,2),B;B=g();f(a);}
至尊宝的传说
相关问题
相关分类