问题 更新时间2024/9/3 9:16:00 #include templateclass 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="">} 答案 登录 注册 cout< 出自:联大 >> 河南财经大学数据库基础与应用