搜索资源列表
字符频率统计
- 字符频度统计,采用Hash表即链表数组作为存储结构,是hash表的简单运用,还包括一定的文件操作-characters frequency statistics, the use of Hash Tables List that as a storage array structure, hash table is a simple application, but also some file manipulation
Merge2Array
- this package contains two .c files.One file implements the merge of two int arrays.The other one implements the merge of two linkage array.
maze
- 迷宫问题,分别用深度和广度优先遍历解决。其中stack用链表实现,queue用数组实现。描述见pdf文件。-Maze problems, were the depth and breadth of priority traversal solution. Stack with the achievement of which list, queue to use the array to achieve. Descr iption see pdf file.
readseq
- 基于OPenCV的源码,用于实现从一个文件存储器中到结构的数组的操作,供参考。-OPenCV based on the source for a file from a memory array to the structure of the operation, for reference.
listandlink
- 包含字符串处理,向量数组,起泡,快速,选择以及快速排序,链表,栈和队列的同个c++文件-Contains the string processing, vector array, foaming, rapid, and selection and quick sort, list, stack and queue with a c++ file
bingdu
- 1,主程序调用病毒功能函数 2,病毒功能函数读取查找同目录下所有c文件; 3,找到一个(被感染c文件),打开它,并且将此文件全部读取到数组变量; 4,重新创建一个同名文件(被感染c文件) 5,数组变量写回这个被感染c文件,同时将病毒源文件所需要的头文件,病毒功能函数 调用语句写入; 6,打开病毒源文件,将病毒功能函数全部写到被感染c文件的最后; 这样一个简单的c语言伪病毒virus.c就完成了-1, the main program calls fun
pres_temp_4D_rd
- 演示如何利用f90接口读出已经创建了4维数组的nc文件,并检查文件的正确与否-Demonstrates how to use the f90 interface to read out has created a four-dimensional array of nc file, and check the correctness of documents
Reader
- 读取文档,将文档中的字符串转化为数组存储。用于解析文件-Read the document, the document string into an array of storage. Used to resolve file
FrameWorkMatrix
- 计算骨架阵的算法,数组是动态分配的,用类写的,有很好的封装性和移植性。并且输入时从文本文件TXT读取的!-Skeleton matrix calculation algorithm, the array is dynamically allocated, with the class to write, have a good package and portability. And input from a text file TXT read!
sortABC
- 随机数产生1000个数,保存在文件中,将前300个整数读入数组A,接下来的400个读入B,最后的300个读入C,分别用冒泡排序,选择排序,直接插入排序算法对A,B,C中的数排序,并按一定格式输出。-1000 the number of random number generation, save the file, read the first 300 integer array A, read the next 400 B, read the last 300 C, respectively,
CountKeyword
- 输入C语言保留字文本文件、C语言源程序文件,输出记录对应C语言源文件中各关键词出现次数的文本文件。 完成以下功能:读取C语言保留字文本文件,建立C语言保留字链表;建立逐行读取给定C语言源文件,分解出每个单词并与C语言关键词进行比较,记录各关键词出现的次数,将所有关键词出现的次数保存到给定文本文件;要考虑用命令行参数实现该任务。 要应用以下知识点:文件的读写;字符数组的操作;命令行参数的使用。 -Enter the C language reserved word text file,
2.3
- 2.3 主元素问题(课本2-9) 问题描述:设T[0:n-1]是n个元素的数组,如果其中某个元素x在整个数组中的出现次数超过n/2,则称x为数组T的主元素。输入数据由文件名为input.txt的文本文件提供。 请设计一个线性时间算法,判断input中的数据是否存在主元素。在实验报告中对算法时间复杂度作出分析。 输入:文件的第1行为数组S中元素个数n;接下来的n 行中,每行有一个自然数。程序运行结束时,将计算结果输出到文件output.txt中。输出文件中包含问题的答案:找不到主元素时
MainElement
- 主元素问题,求给定数组中的主元素,并将结果输出到文件-The main elements of the problem, seeking to set the main elements of the array, and the resulting output to a file
sort2
- 一个基于VC的数组排序算法源码实例,程序中使用了函数指针数组,一共包含四种排序方法:泡沫排序法(bubble)、插入排序法(insertion)、快速排序法(quick)和选择排序法(selection)。在头文件中还使用了模板技术,以便可以同时实现几种类型的排序算法。 -A sorting algorithm based on an array of source code VC instance, the program uses the function pointer array,
IntToString
- 将一维数组中的浮点型数据,转为字符串后存入二维数组,再将该二维数组存入文本文件-One-dimensional array of floating-point data, converted into two-dimensional array after the string, then the two-dimensional array into a text file
38
- 请编写函数fun,函数的功能是:将放在字符串数组中的M各字符串(每串的长度不超过N),按顺序合并组成一个新的字符串。函数fun中给出的语句仅供参考。 例如,字符串数组中的M个字符串为 AAAA BBBBBBB CC 则合并后的字符串的内容应是:AAAABBBBBBBCC。 提示:strcat(a,b)的功能是将字符串b复制到字符串a的串尾上,成为一个新串。 注意:部分源程序在文件APROG1.C中。 请勿改动主函数main和其它函数中的任何内容,仅在函数fun的花
40
- 函数fun的功能是:将s所指字符串中ASCII值为奇数的字符删除,串中剩余字符形成一个新串放在t所指的数组中。 例如,若s所指字符串中的内容为:〞ABCDEFG12345〞,其中字符A的ASCII码值为奇数、…、字符1的ASCII码值也为奇数、…都应当删除,其它依此类推。最后t所指的数组中的内容应是:〞BDF24〞。 注意:部分源程序存在文件PROG1.C中 请勿改动主函数main和其它函数中的任何内容,仅在函数fun的花括号中填入你编写的若干语句 -Function fun f
exam1
- 请编写函数fun,,函数的功能是:将放在字符串数组中的M个字符串(每串的长度不超过N),按顺序合并组成一个新的字符串。函数fun中给出的语句仅供参考。 例如,字符串数组中的M个字符串为 AAAA BBBBBBB CC 则合并后的字符串的内容应是:AAAABBBBBBCC。 提示:strcat(a,b)的功能是将字符b复制到字符串a的串尾上,成为一个新串。 注意:部分源文件存在文件PROG1.C中。数据文件IN.DAT中的数据不得修改。 请勿改动主函数main和其它
exa2m
- 请编写函数fun,,函数的功能是:将放在字符串数组中的M个字符串(每串的长度不超过N),按顺序合并组成一个新的字符串。函数fun中给出的语句仅供参考。 例如,字符串数组中的M个字符串为 AAAA BBBBBBB CC 则合并后的字符串的内容应是:AAAABBBBBBCC。 提示:strcat(a,b)的功能是将字符b复制到字符串a的串尾上,成为一个新串。 注意:部分源文件存在文件PROG1.C中。数据文件IN.DAT中的数据不得修改。 请勿改动主函数main和其它
Array-of-file
- 数组文件 四川大学 大一下学期 单元作业-Array of file