#include <iostream>
using namespace std; template <typename T1,typename T2=int>
class Test{
public:
T1 NumNBei(T1 num,T2 N)
{
return num*N;
}
}; void main()
{
Test<double> t;
double x= t.NumNBei(2.3,);
cout<<x<<endl;
/*
4.6
Press any key to continue
*/
}

最新文章

  1. VIM教程
  2. Linux shell脚本编程(二)
  3. tomcat 动态部署
  4. fir.im Log Guru 正式开源,快速找到 iOS 应用无法安装的原因
  5. ma60笔记
  6. Android 关于ExpandableListView去掉里头的分割线
  7. ext DateTime.js在ie下显示不全
  8. Magento的价格去掉小数点
  9. java 四种内部类和内部接口
  10. js之dom_2
  11. bzoj3144
  12. Python教程:ORM连接Sqlite数据库,软件架构基础
  13. 【转】 iOS Provisioning Profile(Certificate)与Code Signing详解
  14. codevs 1061 重复子串
  15. Scrapy安装问题
  16. Arduino 入门程序示例之一排 LED(2015-06-11)
  17. 分步理解 Promise 的实现
  18. Redis学习笔记之Redis的对象
  19. maven 项目 编码
  20. django-vue之信息过滤(过滤课程)

热门文章

  1. [转帖]图解分布式一致性协议Paxos
  2. linux 判断一个用户是否存在
  3. vue nexttick的理解和使用场景
  4. CSP2019退役记
  5. 物联网通讯协议:MQTT,CoAP,NB-IOT,RFID,BLUETOOTH,NFC
  6. mysql 中的 not like 另一种简化方法。
  7. 动画重定向技术分析及其在Unity中的应用
  8. C# 取得对象属性类型
  9. nginx 配置跨域
  10. 微信小程序中使用全局变量解决页面的传值问题