2014年8月18日
摘要: templateT add(const T&a, const T &b){ return a+b;}void func(int(*ptrfun)(const int& a, const int& b)) //后面两个参数的声明必须写{ cout); }#include templa... 阅读全文
posted @ 2014-08-18 13:10 Yogurshine 阅读(320) 评论(0) 推荐(0) 编辑