搜索资源列表
C_C++pointer
- 指针是C和C++语言编程中最重要的概念之一,也是最容易产生困惑并导致程序出错的问题之一。利用指针编程可以表示各种数据结构, 通过指针可使用主调函数和被调函数之间共享变量或数据结构,便于实现双向数据通讯;并能像汇编语言一样处理内存地址,从而编出精练而高效的程序。指针极大地丰富了C和C++语言的功能。-Pointer is a C and C++ Language programming in the concept of one of the most important and most eas
array
- 用c++编程语言实现以下功能:实现对数组的降序排序,代码简单高效-Using c++ programming language to achieve the following functions: to realize the array in descending order, the code simple and efficient
CMemoryPool
- 在高效C++编程中看到一个不错的内存池实现方案,这里共享下,大家看看有什么不足-See in efficient C++ programming a good memory pool implementation here to share, take a look at what are the deficiencies
SuffixArray
- 后缀数组是处理字符串的有力工具。后缀数组是后缀树的一个非常精巧的 替代品,它比后缀树容易编程实现,能够实现后缀树的很多功能而时间复杂度也 并不逊色,而且它比后缀树所占用的内存空间小很多。可以说,在信息学竞赛中 后缀数组比后缀树要更为实用。本文分两部分。第一部分介绍两种构造后缀数组 的方法,重点介绍如何用简洁高效的代码实现,并对两种算法进行了比较。第二 部分介绍后缀数组在各种类型题目中的具体应用。-Suffix array is a powerful tool for deal
test2
- 利用堆栈的形式对Huffman编码算法进行编程,编码过程还是比较高效的(Huffman encoding algorithm using the form of the stack programming, the encoding process is more efficient)