搜索资源列表
AVL_Lib
- Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory
Universityschoolregistermanagementsystemmanagement
- 要求完成以下功能: 1)能够从屏幕上读取一个学生的信息并将信息存入到数据文件中。 2)能够将指定的信息从文件中删除。 3)能够按编号、姓名对学生的信息进行检索并将检索结果显示在屏幕上。 4)可以统计全部学生的总成绩,及其在班上的排名。 5)能够统计各科的平均成绩及及格率。 6)要求有错误提示功能,例如性别只能输入男女,输入错误提示重新输入。 7)如果检索不到相应的信息应提示用户。-asked to perform the following functions : 1
scorecomputeandfilewrite
- C++文本文件的读写以及计算平均成绩-C text file read and write and calculate average scores ~~~~~~~~~~~~~~~~~~~~
shuijiwenjian
- 从文件中读入内容,然后系统把这些内容随机大乱,输出到新的文件中-read from the file into the content, then these systems as random chaos, and the output of the new document
从数据文件records.txt中读取学生信息
- 从数据文件records.txt中读取学生信息,建立与源数据同序的学生链表并打印在屏幕上; 统计学生链表中身高达标人数(男女生的身高达标值由键盘输入),并打印结果; 对上述学生链表按学号进行排序,然后将一位学生的相关信息插入到已按学号排序的学生链表中后仍然保持学号的有序性,将结果链表打印在屏幕上; 对上述操作后的学生链表进行倒置,结果输出到数据文件result.txt中; 删除链表中身高为指定值的所有学生结点并打印; 将当前的学生链表拆分为男生链表和女生链表(没有
Huffmancoding.rar
- 对文本文件进行huffman编码、解码 读取文本文件,并统计文件中字母个数 建立huffman树 对文件进行huffman编码 对文件进行huffman解码 ,Text documents huffman encoding, decoding to read a text file, and the number of statistical documents the establishment of letters of the document tree huffman
AC
- 使用Java实现了AC算法,并附上简单例子,输入是ACSII码文件读取-Using Java AC algorithm, along with a simple example, enter ACSII code file read
Exercise8_22
- 写一个程序来创建一个Exercise8_22.txt 文件,随机的100个整数,从文件中读出这些数,并且排序。-Write a program to create a file named Exercise8_22.txt if it does not exist.Wite one hundred integers created radomly into the file using text I/O .Integer are separated by speces in the file.
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,
CustomerBillingManagement
- 客户帐单管理是电信计费系统必备的重要功能模块,主要负责对电信各类客户每月帐单的增加、修改、删除、查询、备份等管理工作。本课题以中国电信企业客户帐单管理模块原型参照,要求基于单链表结构对文件存储的客户帐单数据进行排序、查找、计算、显示等造作。通过此可以,熟练掌握单链表结构、文件读写、函数调用等知识,以及查找、排序典型算法的设计与应用。-Customer Billing Telecom Billing System management is an important function module
CountKeyword
- 输入C语言保留字文本文件、C语言源程序文件,输出记录对应C语言源文件中各关键词出现次数的文本文件。 完成以下功能:读取C语言保留字文本文件,建立C语言保留字链表;建立逐行读取给定C语言源文件,分解出每个单词并与C语言关键词进行比较,记录各关键词出现的次数,将所有关键词出现的次数保存到给定文本文件;要考虑用命令行参数实现该任务。 要应用以下知识点:文件的读写;字符数组的操作;命令行参数的使用。 -Enter the C language reserved word text file,
linklist
- 简单链表操作,包括插入,删除,查找,将链表存入文件,总文件中读入链表数据等操作-Simple list operations, including insert, delete, search, the list stored in the file, read the list of total file data and other operations
1.3
- 定义一个结构体数组,存放10个学生的学号,姓名,三门课的成绩 从键盘输入10个学生的以上内容,存入文件stud.txt,关闭文件 打开stud.txt文件,将数据读出,查看是否正确写入,关闭文件。 打开文件stud.txt文件,读出数据,将10个学生按照平均分数从高到低进行排序, 分别将结果输出到屏幕上和另一文件studsort.txt中。-Define an array of structures, storage of 10 students to learn numbers
string_trans
- 从文本文件中读取按照一定格式存储的数据,并经过字符串处理,将数据存储到数组中。主要用到了char*到浮点数的转换,文件读取的一些常用函数。-Read from a text file format for storing data according to certain, and after a string processing, the data stored in the array. Main use of the floating-point conversion to char*,
Huffman
- 数据结构的一个哈夫曼树程序,建立一个文本文件,统计该文件中各字符频率,对各字符进行Huffman编码,将该文件翻译成Huffman编码文件,再将Huffman编码文件翻译成原文件。压缩文件即读文件,统计文件中的字符个数,对文件进行哈夫曼编码和译码,并将编码译码后的字符存储在文件中。-The data structure of a Huffman tree program, create a text file, the statistical character frequency in the
employee-information-system--
- 用链表实现员工信息系统,通过链表实现 通讯录编辑(添加、删除); 查找; 排序; 将通讯录写入文件; 从文件读入通讯录。-Employee information system, a linked list, address book editor through the list (add, delete) search sort contacts write to a file read from the file into the address book.
PostDistance
- 本作业为邮局选址问题。在该问题中,求邮局的最佳位置即求坐标的中位数。分解来看,即分别寻找X和Y坐标的中位数。 类设计如下:设计一个PostCal的类。计算X,Y坐标的中位数方法selectMedian(),其中partition()用于将大问题分解为子问题使用。最后有一个计算邮局到各居民点的路径总和int calSum()。 类中包含构造函数PostCal(),主要功能是实现文件读写,结果计算及输入输出。 类中包含取居民点个数的变量 num。-This job is a pos
EightCode_BFS
- 用广度优先遍历实现八数码的自动求值,写出到文件,从文件读入时有小问题-Breadth-first traversal is used to implement the eight digital automatic evaluation, to write to a file, read from the file have a little problem
RollCall
- C#数据结构-算法:随机点名;主要利用文件读取和随机算法实现,是学习数据结构的理想材料。-The data structure of C#- algorithm: random name realize the main use of file read and random algorithm, is the ideal material for the study of data structure.
read-a-string-to-screen
- 用c语言实现文件读出一个字符串到屏幕,运行环境vc6.0-C language implementation file read out a string to the screen, the operating environment vc6.0