主观

#include﹤iostream.h﹥

class f{

private: int x,y;

public: f1( ){x=0;y=0;}

print( ){cout﹤﹤x﹤﹤', '﹤﹤y﹤﹤endl;}

}

main( ){

f a;

a.f1(1,1);

a.print( );

}

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服