标签:include end float space turn bsp max type ios
#include<iostream>
using namespace std;
template <typename T>
T myMax(T a, T b){
return a > b ? a : b;
}
int main(){
int a = 7;
int b = 8;
cout<<myMax(a,b)<<endl;
float c = 2.0;
float d = 3.0;
cout<<myMax(c,d)<<endl;
return 0;
}
标签:include end float space turn bsp max type ios
原文地址:http://www.cnblogs.com/quan1/p/6757568.html