搜索资源列表
C语言文件管理
- 操作系统中的文件是通过文件目录项来管理的,为了管理和查找的方便,按层次把文件目录项组织起来,同一层上的目录构成该层上的目录,第一层为根目录,一下为各层子目录。 假设以一串字符代表一个文件,每个字符表示一个记录。 在建立上述目录结构的基础上,建立相应的管理系统并要求完成以下各项操作: 1. 一次建立各个文件 2. 查访两个用户的所有文件 3. 查访用户sun 是否有文件AB 4. 删除用户sun的文件AC,然后在分别查访两个用户的全部文件,检查是否已经删除文件AC 5. 撤销用户sun,并检查是否
MD5加密的C++类
- 这是一个好用的MD5的C++类;这个类可以加在控制台 程序中也可用在MFC中, 并且提供了详细的错误处理 函数,是一个安全的类。例程是一个MD5的MFC程序, 支持字符串和文件两种输入。 LPCSTR TargetFile(char *filename=NULL) //计算文件的MD5值 void TargetStr(LPCSTR str) //计算字符串的MD5值 LPCSTR GetDigestKey() //取MD5运算后的结果 LPCSTR GetErr() //如果有错误,取错误字串
guize
- The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first charact
wenxueadie-C
- 这是一个叫“文学研究助手”的关于数据结构中串的模式匹配应用的算法,是文学研究人员用于统计英文小说中某些词出现次数与位置的小程序,但由于本人才疏学浅,程序并不完善。-This is called a "literary research assistant" on the data structure of the string pattern matching algorithm for the application, Literature is for statistic
datastruct_example
- 本人讲授数据结构课程时的所写的示例程序,结构清晰规范,有注释,全部可编译运行,包括如下代码: 长整数:ch0_bigint2.c 顺序表的实现:ch2_stable.c 链表的实现ch2_ltable.c 合并两个有序表:ch2_stable_merge.c 表达式计算:ch3_express.c 队列的链式实现:ch3_lqueue.c 栈的链式实现:ch3_lstack.c 迷宫求解:ch3_maze.c 队列的顺序实现:ch3_squeue.c
string
- 在VC6.0环境下,用C实现串的基本操作:初始化串、求串长、比较两串大小、测试串是否为空、取子串、统计串中某子串个数等。文件中不仅包含源码 ,还包含一组测试结果。-At VC6.0 environment, using C string realize the basic steps: initialization string, and string length, comparing two strings of size, to test whether the string is emp
main
- 倍增法构建后缀数组 求最大重复子串的C程序-Constructing the suffix array multiplication seeking to repeat the largest sub-string C-program
kmp
- KMP String Matching VC++实现的KMP字符串匹配算法-KMP String Matching VC++ implementation of the KMP string-matching algorithms
string
- C++、数据结构、顺序串的基本操作、源代码-C++, data structure, the basic operation of the order of strings, the source code
c
- 利用string类与相关函数,实现任意字符串的反转。如:“abcdef”反转后为“fedcba”-Using string classes and related functions, to achieve an arbitrary string reversal. Such as: " abcdef" reversal after " fedcba"
DSstringProcessingDemo
- 1.用堆分配存储表示实现Hstring 串类型的最小操作子集。 2.实现串抽象类型的其余基本操作(如联接、删除等),且不能使用c语言本身提供的串函数,必须自己构造新的函数实现串的基本操作。 3.本演示系统是一个命令解释程序,循环往复的处理用户输入的每一条命令,直至终止程序的命令为止。 4.参数的合法性必须严格检查,要严格按照命令的输入格式进行输入,否则程序可能无法正确执行指令。 -1. Heap allocated storage, said with a string t
c
- 输入一个字符串,内有数字和非数字字符。将其中连续的数字作为一个整数,一次存放到一个数组a中。统计共有多少个整数,并输出这些数。-Enter a string containing numbers and non-numeric characters. Will be one of a number of consecutive integers, one in a store into an array. Statistics Total number of integers, and the
fastsearch
- 一个快速搜索字符串的C程序,有命令行文件 -A quick search string C program, a command file
stree
- Suffix Tree implementation in C String matching using suffix trees and suffix arrays
string
- 1、为该类设计构造函数和析构函数,要求构造函数不少于两个 2、为该类设计合理的成员变量 3、为string类提供必要的成员函数,可以参考C++类库的string类提供了那些成员函数,起码包括字符查找 获得C风格字符串、获得字符串长度、字符串比较等。 4、要求该类的设计有良好的封装性 5、有一个能正常运行的测试程序,测试该类的所有成员函数-1, the design for the class constructor and destructor, constructor re
String-pattern-matching
- 用C++编写的一个字符串模式匹配程序,实现指定字符串的匹配功能。-Written in C++, a string pattern matching procedures, to achieve the specified string matching.
String-conversion-
- 用c语言实现的将一个短文中的字母串进行排序,通过测试-String conversion
C-C-PP-string-function
- 字符串函数,C语言常用到的,参考资料-C/C++ String function
C
- c语言字符串函数详解平时积累的关于指针函数的笔记-c language string functions Detailed usually accumulated on the pointer function of Notes
String
- 使用C++/C语言实现的String类,对于数据结构的学习有所帮助。-Using C++/C language implementation of the String class for learning data structures helpful.