搜索资源列表
IniFileNew
- 我们都经常使用配置文件。为此我编写了IniFile文件读写类。使用非常简单,请参见示例程序。 程序采用了两种方法,一种是使用iterator调用,一种是直接使用数组下标,可根据不同情况分别选用。 采用C++STL编写,适用于Windows,Linux,Unix任意平台下的任意开发环境,在此只是用Win平台的CBuilder做个示意。-we are always use configuration files. Therefore, I have prepared a document l
dtl
- The goal of this library is to make ODBC recordsets look just like an STL container. As a user, you can move through our containers using standard STL iterators and if you insert(), erase() or replace() records in our containers changes can be automa
Iterplusplus
- C++中容器遍历的例子。Iterator,Vector。可能对初学者比较有用,呵呵。我也是初学者,花了一些功夫才学到的。
rongqi
- * 容器 * 注意掌握的内容 * * 如下图: * set ---HashSet TreeSet ----------装入的对象没顺序并且不能equals字符串比较 * Collection--| 使用链表 使用数组 |--一个一个往里装 * list ---LinkedList,ArrayList ------装入的对象有顺序可以equals比较 * * Map -------HashMap TreeSet---------------
vectoralist
- 练习vector和list的使用 定义一个空的vector,元素类型int,生成10个随机数插入到vector中,用迭代器遍历vector并输出其中的元素值。在vector头部插入一个随机数,用迭代器遍历vector并输出其中的元素值。用泛型算法find查找某个随机数,如果找到便输出,否则将此数插入vector尾部。用泛型算法sort将vector排序,用迭代器遍历vector并输出其中的元素值。将vector清空。 定义一个list,并重复上述实验,并注意观察结果。 -Exerc
tree
- c++下一个简单的多叉树实现: 利用迭代器方便地构建树, 可以递归输出,前序,后序。 利用栈实现输出。 销毁树只能后序遍历-c++ under a simple multi-tree implementation: the use of easy to build a tree iterator can be recursive output, pre-order after order. Use the stack to achieve the output. Only aft
Iterator
- 《c#设计模式》一书里的迭代器模式代码- C# Design Patterns book in the iterator model code
iterator
- 模拟迭代器 I do not know how to explain it-I do not know how to explain it
pc_config_finally_test
- 方法 long Proc_data_end_loop(std::map<std::string,ValueUnit>::iterator ValueUnitIte_1) 实现同key值在map中同时存在,树与队列的集合,有点儿水-Method of long Proc_data_end_loop (std:: map <std::string,ValueUnit> :: iterator ValueUnitIte_1) to achieve the same ke
DesignPattern
- 这是一个关于设计模式的例子演示。关于iterator模式和 interpreter模式没有演示。 代码的价值在于 :如果你不熟悉设计模式,这些例子能在你学习设计模式的过程中,帮助你更好的理解。 如果你想用来直接做项目,那它太简陋了。 作者余洋保留版权 但你可以自由的使用它。 本人保留修改和公布这些代码的权利,他人不允许散发这些代码. 代码在变量 函数设计 等一些细节的地方并不太理想,但我尽量把任务在我规划的时间内完成。 如果你将事例修改的更好 或你对于设计模式的使用上有自
dtl.3.6.11.tar
- 数据库模板类 支持ODBC -The goal of this library is to make ODBC recordsets look just like an STL container. As a user, you can move through our containers using standard STL iterators and if you insert(), erase() or replace() records in our containers chang
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
70809
- *** *** *** iterator模式-***************************** iterator pattern
KC
- 实现线性表的基本操作:插入、删除、查找。 链表遍历器的使用方法。-To achieve a linear form the basic operations: insert, delete, search. List iterator to use.
iter
- 双向链表+迭代器类 不带头节点 -+ Doubly linked list iterator class does not take the lead node
directory_iterator
- Some uselles crap (directory iterator test approach).
The-iterator-reality-bus-stops
- 利用迭代器现实公交站点,通过查找站点来查找自己应该坐几路车,方便出行。-Iterator reality bus stops by looking for the site to find that they should take a few road cars, to facilitate travel.
Iterator
- 设计模式中的迭代器模式,比较简单的一种设计模式,用几个典型的例子帮助理解-The Iterator Pattern
Iterator
- An iterator over a sequence of objects, such as a collection.
Iterator
- Sample iterator C# 5