1.


template <typename T> int max( T x, T y){

if (x > y) return x;

else return y;

}


2.


template <class TYPE>

TYPE equals(TYPE x, int y){

if(x==y) return true;

else return false;

}


여기에 ㅅㅂ 틀린ㄱ ㅔ있냐  책 설명 ㅈㄴ부실하노 씨발