搜索资源列表
CMatrixClass
- 1.内存管理一律根据实际需要的大小在堆中动态分配内存。 2.边界检查。如果数组下标超越了数组大小界限,会给出警告信息,可以防止非法内存访问以及方便程序的调试。 3.重载了+,-,*,+=,-=,数乘等常见运算符; 4.可以保存数组为二进制数据文件和文本文件两种形式,也可以从二进制数据文件和文本文件读取数据到数组。 5.实现了和矩阵相关的线性代数方程组求解算法。一是高斯选主元消去法二是针对三对角矩阵的追赶法。 6.静态函数Bspline3():3次
biaodashiqiuzhisuanfa
- 扩充课堂上讨论的表达式求值算法的功能,使得算法除了能进行加(+)、减(–)、乘(*)、整除(/) 运算之外,还能进行乘方(^)运算。 乘方运算符的优先级高于加、减、乘、整除运算符,低于括号;多个乘方运算符连续出现时,从右往左计算。 输入数据从文本文件“实习3数据.txt”中读取。该文件只有一行:一个用分号(;)结尾的表达式。 输出结果显示在屏幕上。 例如,若从文本文件中读取的数据是: 4+(2^2^3*4-120)*2 屏幕显示计算结果: 1812
matri
- 读取文本文件生成生树,这是数据结构重要内容.-Students read a text file to generate the tree, which is an important part of the data structure.
text
- 单词统计程序,使之能处理任意长度的单词。 如下功能:1.从数据文件读取字符文本 2.对单词按照频度排序(按大到小)输出。-Word statistical procedures, so that it can handle any length of words. The following functions: 1. Read characters from a text data file 2 in accordance with the frequency of word order
inOut
- VC控制台下的编程,主要实现人外部文本文件读取数据,并同时写出到外部另一个文件。希望这份小东西能对急切需要此类功能的同学有帮助。-VC console programming, the main external text files were read, while another write to the external file. Hope this code can help the students who command such functions.
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*,
hoffman-encodeadecode
- 数据结构与算法的一个课程设计,内含实验报告。主要功能有: 用户可以执行的的功能有: (1)---选择读取某个源文件由系统解析建立哈夫曼树 (2)---手动输入字符集及其权值信息建立哈夫曼树 (3)---打印字符集的哈夫曼编码到屏幕 (4)---选择某个文本文件进行编码 (5)---选择某个代码文件进行译码 -Data structures and algorithms, a curriculum design, containing experimental r
binarytree-read
- 层次读取文本文件中的数据,最终由先序的方式输出。-Level reading text files in the data, the final output by the way of the first order.