搜索资源列表
栈类.rar
- 栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进者先出,即最后被存入的数据将首先被取出。其形式很象一种存储硬币的小容器,每次只可以从顶端压入一个硬币,而取出也只可以从顶端进行,即后进先出。 这样的数据存储和管理形式在一些程序设计中很有用。例如,编译系统中(这是一类比较复杂的程序),对于函数调用的处理、对于表达式计算的处理,都利用了栈这样的数据结构。
MFCIteratorDemo
- 这个项目演示了STL风格的迭代子,如何编写自己的迭代子,使用容器来简化STL,并与STL兼容。在这个例子中使用的容器是MFC框架应用程序,文档模板,文档类CWinApp,-the project demonstrated the STL - style iteration, how to prepare their son iteration, the use of containers to simplify the STL, and compatible with the STL. In t
rongqi
- 我们没有按照过程化 程序设计的方式把数据结构和函数分开而是引入了一个类TextQuery 来封装它们我们将 在后面章节中更详细地了解类的使用文本的表示也做了修改以便能够在当前可用的编 259 第六章 抽象容器类型 译器下通过编译-we did not follow procedures for the process of design of the data structures and function separately but the introduction of a
栈类
- 栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进者先出,即最后被存入的数据将首先被取出。其形式很象一种存储硬币的小容器,每次只可以从顶端压入一个硬币,而取出也只可以从顶端进行,即后进先出。 这样的数据存储和管理形式在一些程序设计中很有用。例如,编译系统中(这是一类比较复杂的程序),对于函数调用的处理、对于表达式计算的处理,都利用了栈这样的数据结构。- The stack (stack)
STL
- 这是关于VC++中的STL容器的资料,包括了STL容器各个类之间关系以及类的说明-This is on VC++ Of STL containers, including the STL containers, as well as the relationship between various types of categories of descr iption
carwash
- 一个模拟洗车场的小程序,主要算法是通过STL容器类queue实现对洗车场的仿真。-A PROGRAM FOR CAR WASHING SIMULATION
FreePtr
- 这是一个很好的帮助类,在适用STL的容器的时候,可以配合for_each算法函数删除容器中的指针对象-This is a very good help category, where applicable, the STL containers, they can function with the for_each algorithm to delete the pointer container object
ssd7exercise2
- 相对于实验一,新增了2个类。 Class Listing vector<Advertisement*>. Class Group vector<Client*>. 使用到了向量。增强了大家对STL向量容器,以及实现所给的声明函数。 压缩包里面有代码,指导书,以及Apache服务器。-Prerequisites: Students should have mastered the following prerequisite skills. C++
ssd7exercise3
- 1实现stl容器; 2实现说给声明的函数 3使用递归方法 相对于实验2,新增了2个类Class Category。Class Categories; 关键算法: virtual void findOfferings (Listing::iterator start, Listing::iterator finish, Listing &matches) void findOfferingsRecursive (Listing::iterator start, Listi
kmeans
- 这是用C++编写的数据挖掘的聚类算法。算法中使用了链表结构做为存储数据的容器。-It is written in C++, data mining clustering algorithm. Algorithm is used to store data as a linked list structure of the container.
Example
- 实习生类,公司招聘实习生管理,STL容器和抽象类管理-Intern class, the company management intern recruitment, STL containers and abstract management
stl-code
- stl标准库是C++ 的一个类库,包括容器,算法,迭代器。提供许多基本的算法和数据结构-The Standard Template Library, or STL, is a C++ library of container classes, algorithms, and iterators it provides many of the basic algorithms and data structures of computer science.
CrossList
- 自己写的十字链表C++语言模板容器类,使用异常处理机制。-My own handwrite C++ template container class: CrossList, exceptions is used to handle problems.
CPP_STL
- 本书对C++ STL进行了全面而深入的阐述。 STL(标准模板库)是在惠普实验室中开发的,已纳入ANSI/ISO C++标准。其中的代码采用模板类及模板函数的方式,可以极大地提高编程效率。本书由P.J. Plauger等四位对C++ STL的实现有着卓越贡献的大师撰写,详细讨论了C++ STL的各个部分。 全书分为16章,其中的13章通过背景知识、功能描述、头文件代码、测试程序和习题,分别讲述了C++ STL中的13个头文件,其他章节介绍了STL中广泛涉及的三个主题--迭代器、算法和容器
avl-array-CPP-1.2.1
- AVL Array 是一个C++风格的容器类,具有快速随机存取和任意位置快速插入、删除的功能。-AVL Array is a C++ STL-style container with fast random access _and_ fast insert/erase at any point (all are O(log N) worst case)
ParaManager
- 利用STL中MAP容器写的参数工具类及其使用示例:可以方便地从文件中读取参数,将参数保存到文件,在自己程序中随时随地存取参数。-Written using STL containers in the MAP parameter tools and their use example: you can easily read from the file parameter, the parameter to a file, the program anytime, anywhere access
VectorMatrix
- 建立了一个基于容器的类,可用于基本的操作,包括加、减、乘、除,已编译通过-Set up a based on the kind of containers, and can be used for basic operations, including the addition, subtraction, multiplication, and division, the compiled by
060405113519
- 用set容器进行排序的示例函数,可以实现快速的正向,逆向排序,根据类的元素来作为排序依据。-Use the example set containers to sort function, can achieve rapid positive, reverse order, according to the type of element to order as the basis.
Dijkstra
- 迪杰斯克拉无向图最短路径----dijkstra 这是帮同学完成的Project,老外老师的要求果然不同。对于基本算法,不光要求不能使用高级容器类,还要求程序有一定的检验错误能力。花了1天的时间写完,代码考虑结点过多内存占用的问题,因此关系矩阵采用映射的方式存储。由此带来的弊端是,找一个结点的时候需要循环判断,导致效率过低。总之,内存占用与程序效率是鱼与熊掌不可兼得。 代码写的比较凌乱。仅供参考。 Project的要求介绍参考链接: http://hi.baidu.com/
Vector
- C++Vector类 STL容器 实现容器类的操作 Vector类应用-C++ Vector operations Vector class STL container implementation class application container classes
