-
目标:这项任务的目的是加强学生的理解和…
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, Listing::iterator finish, Listing &matches)
压缩包里面有代码,指导书,以及Apache服务器。-Goals: This assignment is designed to reinforce the student s understanding and use of recursion.
Outcomes: Students successfully completing this assignment would master the following outcomes.
Use the STL vector container
Produce C++ class implementations given class declarations
Produce a recursive algorithm
- 2022-07-07 02:57:41下载
- 积分:1
-
PTypes是一个扩充了多线程和网络功能的STL库,具有跨平台移植的能力...
PTypes是一个扩充了多线程和网络功能的STL库,具有跨平台移植的能力-PTypes is an expansion of the multithreading and networking capabilities for the STL, which is cross-platform capability transplant
- 2022-01-31 22:52:29下载
- 积分:1
-
STL
快速学习stl的书,30分钟掌握stl的pdf格式(Fast learning stl book, 30 minutes to master stl pdf format)
- 2013-05-26 11:25:11下载
- 积分:1
-
C语言下开发的双链表算法,模拟C++中STL接口说明,可以在嵌入式C语言中直接使用。...
C语言下开发的双链表算法,模拟C++中STL接口说明,可以在嵌入式C语言中直接使用。-double list using C language.
- 2022-03-12 08:15:50下载
- 积分:1
-
sliding
说明: 求出sliding window的最大最小值(n array of size n ≤ 106 is given to you. There is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the sliding window moves rightwards by one position. Following is an example:
The array is [1 3-1-3 5 3 6 7], and k is 3.
Window position Minimum value Maximum value
[1 3 -1]-3 5 3 6 7 -1 3
1 [3 -1 -3] 5 3 6 7 -3 3
1 3 [-1 -3 5] 3 6 7 -3 5
1 3 -1 [-3 5 3] 6 7 -3 5
1 3 -1 -3 [5 3 6] 7 3 6
1 3 -1 -3 5 [3 6 7] 3 7
Your task is to determine the maximum and minimum values in the sliding window at each position. )
- 2011-04-03 19:25:46下载
- 积分:1
-
使用VC6.0 STL std::map的一个小例子。使用的键值是一个结构体,里面包含一个整型三维数组。...
使用VC6.0 STL std::map的一个小例子。使用的键值是一个结构体,里面包含一个整型三维数组。-use VC6.0 STL std : : map of a small example. The pair is a body structure, which contains an integer 3D array.
- 2023-07-18 23:20:02下载
- 积分:1
-
Essential-CPP
本书为那些没有太多时间学习的程序员提供了一条在工作中学习C++的捷径。它把重点放在那些C++编程中重要的要素上,并覆盖能够帮助解决实际编程问题的特性和技术。
本书将C++的基本内容按照过程风格、泛型风格、基于对象风格,以及面向对象风格进行组织。本书采用复杂度渐进的风格展开,并在讨论解决方案的过程中引入语言特性,便于学习C++的功能和结构,同时理解其目的和基本理念。
书中完整深入探讨了以下主要内容:
泛型编程和标准模板库(STL)
基于对象的编程和类的设计面向对象的编程和类层次体系的设计
函数和类模板的设计和使用
异常处理和运行时类型信息(RTTI)(This book is not much time to learn those programmers provide a learning C++ at work as a shortcut. It focuses on those C++ programming on important elements, and covers issues that can help solve real programming features and technologies.
The book will be C++ style basic content in accordance with the process, the generic style, object-based style, and object-oriented style organization. This book uses a progressive style complexity unfold, and language features introduced in the process of discussing solutions, easy to learn C++ function and structure, and to understand its purpose and basic concepts.
The book explores the full depth of the following main elements:
Generic programming and the Standard Template Library (STL)
Programming and class design object-oriented programming and design objects class hierarchy based
Design and use functions and class template
Exception handling and runtime type information (RTTI))
- 2013-12-06 15:01:18下载
- 积分:1
-
Beyond Stl 中文版,十 分 有 用
Beyond Stl 中文版,十 分 有 用-Beyond STL CN used for C++
- 2023-04-11 13:20:23下载
- 积分:1
-
ListLink
单链表 数据结构中单链表 数据结构中单链表(Single linked list)
- 2011-11-10 20:18:40下载
- 积分:1
-
MFC
基于MFC和STL平台的字符串类,可以实现在快速字符串搜索-MFC-based platform and STL string type, can achieve a rapid search string
- 2022-06-01 20:45:28下载
- 积分:1