-
stl-huffman
implement huffman algorithm with stl priority-queue, first you must have the file, then the result is saved(implement Huffman algorithm with stl prio rity- queue, first you must have the file, then the result is saved)
- 2007-01-16 15:56:56下载
- 积分:1
-
MFC
基于MFC和STL平台的字符串类,可以实现在快速字符串搜索。-MFC-based platform and STL string type, can achieve in the fast string search.
- 2022-03-29 06:09:54下载
- 积分:1
-
stlnew.tar
关于C++中 STL库使用的一些新特性,包括一个makefile
可以直接编译,希望对大家有帮助(About some of the new features C++ the STL library uses, including a makefile can be directly compiled, we hope to help)
- 2013-11-26 23:28:53下载
- 积分:1
-
1使用到了stl sorting
2stl find
3实现所有声明的函数。
关键方法是:
virtual Listing sort(stri...
1使用到了stl sorting
2stl find
3实现所有声明的函数。
关键方法是:
virtual Listing sort(string field)
根据选择"email," "start," "close," and "quantity."来对list中的advertisements进行排序。
virtual Listing filter(string keyword)
筛选出whose name or description contains the string given by the parameter keyword;
压缩包里面有代码,指导书,以及Apache服务器。-outcomes.
• Use STL sorting functions
Use STL find functions
Use of appropriate STL functions
Produce C++ class implementations given class declarations
- 2022-05-18 17:28:47下载
- 积分:1
-
一个Delphi的STL
这两年来编写程序,着实接触了不少函数代码,遇到比较有收藏价值的或者应用比较广的就收集了起来,就形成了这个大杂烩 SRTL(Super Run Time Library)。这里面有除了一些是本人编写的代码,其他全非本人版权,只是希望各位在修改或者传播的过程中,保留作者的版权说明.另外由于是免费的完全开源的,所以本人不对使用SuperRTL所造成的后果有任何责任。
下面简单介绍一下单元的内容:
Win32.pas (本人编写)
API函数的简单调用,如建立进程,建立文件映射,建立、读取管道(可以捕捉DOS程序输出)等。
StrFuncs.pas (本人编写)
字符串处理单元,完全兼容宽字节处理(即使用wideString),特有的中文字符串处理函数(如简繁转换等等),经过多次优化,大多以编表的方式进行处理(一般来说是最快的处理方式)。
BiosHelp.pas
读取Bios信息的单元,兼容各种windows系统。
Streams.pas
流(TStream)输入输出处理单元,可以用来保存读取控件属性。
ShlFile.pas
各种文件操作,包括获得系统特殊路径,获取文件图标等。
RegEx
- 2023-07-07 10:00:03下载
- 积分:1
-
The book the author explains how to combine STL library components in the design...
书中作者解释了怎样结合STL组件来在库的设计得到最大的好处。这样的信息允许你对简单、直接的问题开发简单、直接的解决方案,也帮你对更复杂的问题设计优雅的方法。我描述了常见的STL使用错误,而且向你演示怎么避开它们。那帮助你躲开闪资源漏、不可移植的代码和未定义的行为。我讨论了优化代码的方法,所以你能使STL表现得像它应该的那样快速、光滑。
本书作者为Scott Meyers,由龚敏敏翻译。
-The book the author explains how to combine STL library components in the design to obtain the greatest benefits. This information allows you to simple, direct question of the development of simple, direct solution, but also help you to more complex issues elegant approach. I have described the use of common STL error, and presentation to you how to avoid them. That flash of resources to help you avoid leakage, the code can not be transplanted and undefined behavior. I discussed the ways to optimize the code, so you can STL performance as it should be as fast and smooth. This book written by Scott Meyers, Translations from龚敏敏.
- 2022-03-18 11:46:37下载
- 积分:1
-
STL的部分实用技巧,STL的部分实用技巧
STL的部分实用技巧,STL的部分实用技巧-STL part of practical skills, STL part of Practical Skills
- 2022-11-16 03:45:03下载
- 积分:1
-
simple example. A total of 19 documents. Against beginners
简单的stl例子。共有19个文件。针对初学者-simple example. A total of 19 documents. Against beginners
- 2022-07-07 17:50:59下载
- 积分:1
-
Effective-STL-
Effective STL, Using Standard C++ Template Library for coding
- 2015-06-01 01:04:58下载
- 积分: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