登 录
#include <iostream> using namespace std;
template <class T> T Add(T a,T b) { return a+b; }
void main(int argc,char*argv[]) { cout<<Add(3,9)<<endl; cout<<Add(3.1,9.2)<<endl; }
抱歉!评论已关闭.