河南成教 / C++程序设计
12[改错题]
#include
12[改错题]
#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<<><>
参考答案:
佳题速递: