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

Explore of Concept and Application of Generic in C++ Teaching

在线阅读下载全文

作  者:高大鹏[1] 王双喜[1] 

机构地区:[1]商丘学院,河南商丘476113

出  处:《工业控制计算机》2014年第10期92-93,共2页Industrial Control Computer

摘  要:对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.

关 键 词:泛型 模板函数 模板类 

分 类 号:TP312.1-4[自动化与计算机技术—计算机软件与理论] G642[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象