Develop

[c++] template 사용예

by hooni posted Apr 23, 2003
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print
#include <iostream.h>

template <class type>
type max(type x, type y){
        return x>y?x:y;
}

int main(){
        return 0;
}


Articles