期刊文献+

C++教学中泛型的概念和应用探讨

Explore of Concept and Application of Generic in C++ Teaching
下载PDF
导出
摘要 对C++教学中的泛型概念和使用进行了探讨,首先通过一个Stack类的例子引出泛型的概念,然后分析了泛型的优缺点并具体分析了模板函数和模板类的具体应用。最后对泛型的程序库STL进行了介绍。 The concept and use of generic in the C++ teaching are discussed in this paper.Firstly,the example of the Stack class leads to the generic,and then analyzes the advantages and disadvantages of the generic and specific analysis the specific application of template function and template class.Finally,the STL is introduced in this paper.
机构地区 商丘学院
出处 《工业控制计算机》 2014年第10期92-93,共2页 Industrial Control Computer
关键词 泛型 模板函数 模板类 generic template function template class
  • 相关文献

参考文献5

  • 1Http://en.wikipedia.org/wiki/Alexander stepanov.
  • 2Http://www.cs.rpi.edu/-musser.
  • 3Matthew H Austern,侯捷.泛型编程与STL[M].北京:中国电力出版社,2003.81-166.
  • 4张冬姣,陈艳.浅析Java泛型的使用[J].福建电脑,2011,27(12):144-145. 被引量:1
  • 5Stanley B. LippmanBarbara E. Moo Jos6eLaJoie.C++ Primer[M].李师贤,等,译.北京:人民邮电出版社,2006.

二级参考文献2

  • 1JDK5.0中的泛型类型学习, http://www.11nux521 .com/2009/java/201007/11732_2.html,2010.
  • 2成富,Java深度历险(五)-Java泛型, http://www.infoq.com/cn/articles/cf-j ava-generics, 2011.

共引文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部