首页 | 本学科首页   官方微博 | 高级检索  
     

C++中如何使用STL的泛型算法
引用本文:杜恒,杨瑞兰. C++中如何使用STL的泛型算法[J]. 新余高专学报, 2004, 9(5): 60-63
作者姓名:杜恒  杨瑞兰
作者单位:河南工业职业技术学院,河南,南阳,473009
摘    要:摘要:C 是面向对象编程,而使用STL是属于泛型编程,STL是属于泛型算法,与所采用的数据结构和语言无关,它提供了使用STL编程的一个通用的接口。阐述了C 中如何进行STL泛型编程。

关 键 词:C++ 面向对象 泛型算法 泛型指针 STL 双向访问 模板
文章编号:1008-6765(2004)05-0060-04
修稿时间:2004-08-28

How to Use Generic Algorithm of STL in C++
DU Heng,YANG Rui-lan. How to Use Generic Algorithm of STL in C++[J]. Journal of XinYu College, 2004, 9(5): 60-63
Authors:DU Heng  YANG Rui-lan
Abstract:C + + is aimed at objective programming while STL is aimed at generic programming. STL belongs to generic algorithm, which has nothing to do with data structure and language. It offers a common interface using STL. How to do STL functional programming in C + + is introduced.
Keywords:C + +    Object - oriented  generic algorithm  Generic pointer  STL  Two - way visit  Template  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号