???????????
template <class A?? int Asize>
class Arraymy{
public:
A PrintArry(){
for (int i=0 ; i<Asize; i++ )
{
cout<<"value ="<<myarry[i]<<endl;
ret=myarry[i];
}
return ret;
}
A IniArry(){
for (int i=0 ; i<Asize; i++ )
{    cout<<"input:"<<endl;
cin>>myarry[i];
ret=myarry[i];
}
return ret;
}
private:
A myarry[Asize];
A ret;
};
??????????????
int main(void){
//template 1:
compare < int > cmp(4??6);
int a=cmp.max();
int b=cmp.min();
cout<<"max = "<<a<<endl;
cout<<"min = "<<b<<endl;
//template 2:
outmy< int?? double > myo(6??5.5);
int c = myo.Big();
double d = myo.Comfux();
//template 3:
Arraymy< int?? 5 > mya;
a=mya.IniArry();
b=mya.PrintArry();
getchar();//getchar???????console???
getchar();//getchar???????console???
return 0;
}