// TemplateFunction.cpp : Defines the entry point for the console application.
// #include "stdafx.h" template<typename T>
T MyMax(T a,T b)
{
return a>b ? a : b;
} int main(int argc, char* argv[])
{
int i=MyMax<int>(,);
int j=MyMax(,);
printf("%d\n%d\n",i,j);
return ;
} // 3
// 1
// Press any key to continue

最新文章

  1. DrawerLayout的openDrawer()和closeDrawer()方法
  2. winserver2008 management note
  3. BZOJ4519——[cqoi2016]不同的最小割
  4. Mustache.js前端模板引擎源码解读
  5. 史上最全的HTML、CSS知识点总结,浅显易懂。
  6. 12.Object-C--浅谈OC的内存管理机制
  7. 浅谈Redis数据库的键值设计(转)
  8. jsp之jsp基础
  9. linux下用非root用户重启导致ssh无法连接的问题
  10. DuiVision开发教程(15)-DUI文本控制基础类
  11. springmvc注解式事务手动回滚
  12. Python学习 Part7:类
  13. IntelliJ IDEA取消自动import所有import *
  14. Python_内置函数之round的幺蛾子
  15. mysql like 查不到结果 中文 查询优化
  16. CSS 简介 3
  17. 关于Mysql数据库的知识总结
  18. jQuery Ajax url使用方式
  19. JSON解析工具——Jackson的简单使用
  20. shell脚本学习指南-grep文本搜索命令-学习(3)

热门文章

  1. sql 语言--- DML,DDL,DQL,DCL,TCL,CCL
  2. 文本分类(TextCNN,Keras)
  3. 【Mac+Android+uiautomatorviewer】之报错:Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationTargetException
  4. mysql中,手动提交事务
  5. http://blog.csdn.net/baidu_31657889/article/details/52315902
  6. 订单BOM与销售BOM的区别
  7. C#写入Excel文件方式
  8. RabbitMQ学习之Routing(4)
  9. CMS-headless or non-headless, page-based or object-based storage?
  10. Spring Boot 框架下使用MyBatis访问数据库之基于XML配置的方式