C++STL STL(Standard Template Library,标准模板库)是惠普实验室开发的一系列软件的统称。它是由Alexander Stepanov、Meng Lee和David R Musser在惠普实验室工作时所开发出来的。现在虽说它主要出现在C++中,但在被引入C++之前该技术就已经存在了很长的一段时间。 STL的代码从广义上讲分为三类:algorithm(算法)、container(容器)和iterator(迭代器),几乎所有的代码都采用了模板类和模版函数的方式,这相比于传统的由函数和类组成的库来说提供了更好的代码重用机会。在C++标准中,STL被组织为下面的13个头文件:<algorithm>、<deque>、<functional>、<iterator>、<vector>、<List>、<map>、<memory>、<numeric>、<queue>、<set>、<stack>和<utility>。以下笔者就简单介绍一下STL各个部分的主要特点。
标签: STL Standard Template Library
上传时间: 2016-06-20
上传用户:cylnpy
一、编程环境: windows2003 +visual stdio c++ .net,Ado + SQL2000 二、SQL设置: 将在SQL2000下建立schooldata数据库,导入数据文件 三、导入数据: data目录下有school_back数据库备分文件 操作:用SQL企业管理器还原数据库来导入数据 访问本地数据库服务器,密码是自己设置的那个,操作schooldata数据库的用户名和密码相同。 主要用ADO访问数据库,和几个显示数据的控件Treectrl,Listctrl,datagrid等程序中有几个BUG还没解决, 四、实现功能: 操作:在选择查询条件:选择一个,tree控件里显示相关信息 可以在tree控件里单击来显示每个ITEM,每个ITEM相关信息显示在List控件内 双击List控件显示具体信息 也可以在窗口里单击右键或操作菜单具体操作 五、主要功能: 查询,添加,删除,显示“学院,各系,班级,学生,教师,社团,课程”等信息 程序还用了Active Skin 对程序进行了换肤!!
标签: SQL 2000 schooldata windows
上传时间: 2013-12-23
上传用户:BIBI
熟悉用单片机产生声音的方法 硬件要求:拨码开关S10的第3位置ON,其他位置OFF List P=16F877A,R=DEC 定义器件,默认为十进制
上传时间: 2013-12-26
上传用户:wpwpwlxwlx
MediaPlayer代码,部分代码,合适请用: import java.awt.* import java.awt.event.* import javax.swing.* import javax.media.* import java.io.* import java.util.* //为了导入Vector //import com.sun.java.swing.plaf.windows.* public class MediaPlayer extends JFrame implements ActionListener,Runnable { private JMenuBar bar //菜单条 private JMenu fileMenu,choiceMenu,aboutMenu private JMenuItem openItem,openDirItem,closeItem,about,infor private JCheckBoxMenuItem onTop private boolean top=false,loop //设定窗口是否在最前面 private Player player //Play是个实现Controller的接口 private File file,ListFile //利用File类结合JFileChooser进行文件打开操作,后则与List.ini有关
标签: MediaPlayer 代码
上传时间: 2016-07-08
上传用户:爺的气质
EZW举例 该源代码包含有6个文件: EZW.H - EZW编码器头文件 EZW.C - EZW编码器文件 MATRIX2D.H MATRIX2D.C - 编码器数据结果定义和数据操作 FIFO.H FIFO.C - 扫描方式定义:先入先出原则 List.H List.C - 零树结构定义和操作 UNEZW.C - EZW解码器 这里,读者重点要掌握的是EZW.C和List.C中的内容,充分理解零树的概念。
上传时间: 2014-01-25
上传用户:dave520l
sourceforge历史版本完整下载: http://sourceforge.net/project/showfiles.php?group_id=202044 提供了基于b树索引算法的文件数据数据库模块详见storage/目录下面的 btree.c与pager.c container目录为常用的容器实现,如果rbtree avltree map heap List vector hashtable deque T树 B树, test目录为测试程序代码经过初步测试,比较稳定。 os_api:装一些操作系统相关的接口函数。已完成event mutex sem thread pipe相关的封装 advance_container:提供优先级消息队列,普通消息队列,定时器容器。 frame:目前提供了Listerner(linux下版本,模仿ace的反应器)定时器 algorithm:补充了堆排序 与快速排序 所有代码均已在windows linux与uclinux + arm44b0平台下测试 欢迎交流 msn:lsccsl@163.net mail:lsccsl@tom.com
标签: sourceforge showfiles group_id project
上传时间: 2016-07-16
上传用户:lili123
java属性邦定的(JSR-295)的一个实现,通过它可以方便的将java bean的属性绑定到List,table等多种java组件
上传时间: 2013-12-29
上传用户:变形金刚
The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components - and to benefit from their power - you need a resource that does far more than List the classes and their functions.
标签: interfaces standard provides library
上传时间: 2014-12-01
上传用户:电子世界
在SAP ABAP 开发环境中,用ALV显示报表List
上传时间: 2014-01-04
上传用户:woshini123456
Easy Grid is a JS/PHP tool kit for data linear Lists management. It can help you to create quickly interfaces of table List navigation and modification with AJAX features. High performance of the Grid is ensured by JSON data format. The Easy Grid includes sorting, filtering, pagination and mouse right click context menu. Files: grid.html - HTML of the grid file_controller.php - sample of grid controller with file-flat interface db_controller.php - sample of grid controller with DB interface sample.csv - Sample of grid data source (VDB) sample.sql - Sample of grid data source (MySQL) easygrid.js - Easy Gird library easygrid_contextmenu.js - Easy Grid context menu library
标签: management quickly create linear
上传时间: 2013-12-04
上传用户:cylnpy