呵呵

#include <iostream>

using namespace std;

template <class Type>

Type maxx(Type a,Type b)
{
    return (a > b)?a:b;
}
int main()
{
    char a[] = "yifiii";
    char b[] = "aifii";
    cout << maxx(a,b) <<endl;
 } 

 

posted on 2017-03-28 19:50  yifi  阅读(133)  评论(0编辑  收藏  举报

导航