注意:此页面搜索的是所有试题
#include
template

class f{

private:T x,y;

public:void f1(T a,T b){x=a;y=b;}

T max( ){retum(x>y)?x:y;}

};

void main( ){

f a;

a.f1(1.5,3.8); ’

cout<<><><>< p="">}

参考答案