搜索资源列表
C-procedure
- 哈夫曼树,函数嵌套验证哥德巴赫猜想,汉诺塔问题,循环队列实现,杨辉三角的递归解决方案-Huffman tree, nested function verify goldbach conjecture, Hanoi problem, circular queue implementation, Yang hui triangle recursive solution
api_dll
- 把函数参数转变为报文结构,定义报文的结构,安装handler,table_hanlder会自动调用handler进行处理, 处理完成后,打包为连续内存的报文结构-interface to packet
Create-Picture
- 为两个程序,配合使用。一个是读取图片文件的二进制流,按照规定的格式写入一个txt文本文档中,另一个程序是将此文本文档中的内容按照指定格式复制到代码的数组中,最终可生成原图片。特点:第二个程序不需要单独的图片附件,而是将所需图片的二进制流存储到了数组中,在需要的时候使用。注:由于程序较简单,本人采用DEV C++程序编写,无工程文件,若用VS2013编译会出现fscanf和sprintf以及fopen等这些文件读写函数不安全的警告,需用_s的函数替换,只需按照相应格式替换即可,这里不再赘述。-Fo
ReadFile_And_WriteFile-Demo(VS2013)
- 对上次本人用dev c写的读写文件的程序进行改写,这次是用VS2013写的,将读文件与写文件分别封装成两个独立的函数放到两个独立的文件.cpp(.h)中,便于以后根据自己的需要对函数功能进行相应的扩展。读文件操作制将某一文件的二进制流读出写到一个txt文件中,写文件指将事先写好的数组中的数据一二进制流的形式写成一个新的文件。 两个函数原型: void ReadFile(char* readfilename, char* writefilename) void WriteFile(c
3-b10
- 用函数+数组方式完成人民币转大写的操作-An array of ways to finish the function+ ofcomplete 3-b10 (RMB turn uppercase)
LCD_Simulator
- LCD TFT TOUCH 液晶 模拟器 可任意改变分辨率(修改分辨时注意函数调用参数的范围)方便开发UI-LCD TFT TOUCH LCD simulator can arbitrarily change the resolution (Note that the function call to modify the parameters of range resolution) facilitate the development of UI
Least-squares-curve-fitting
- 最小二乘曲线拟合 输入数据和阶数 输出函数系数-Least-squares curve fitting and order input data output function coefficients
lab02
- f(n)=f(n-1)+f(n-2) f(0)=f(1)=1,求斐波那契数列第20项,分别用循环和递归的方式,比较时间效率。提示:可以使用c函数clock取出当前系统时间,计算前后各一次,两次相减除以每秒的时钟数,就可以得到以秒为单位的差距-f (n) = f (n-1)+ f (n-2) f (0) = f (1) = 1, Item 20 seeking Fibonacci number Fibonacci sequence that were circulating and recursi
CLPhonebook
- 面向对象的电话本,具有查询删除插入等功能,使用多个函数,条理清晰。既包含了业务流程的逻辑,又包含了电话本缓存的逻辑 -Object-oriented phone book, delete the insert with the query and other functions, the use of multiple functions, the clarity. It contains both the business process logic, but also contains
4
- STL中map用法详解:map的构造函数、数据的插入、map的大小、数据的遍历、数据的查找(包括判定这个关键字是否在map中出现)等。-Detailed the STL map usage: traversal, find the data constructor map, insert the data, the size of the map, data (including determining whether the keyword appears in the map) and th
AC
- AC自动机多模匹配程序,包括Goto函数、失效函数、输出函数构建-AC automatic machine multimode matching program, including the Goto function, fail function, the output function construct
Encode
- 实现RC4加密加密程序,程序中分别提供加密解密函数。-Implement RC4 encryption encryption program
eigen-eigen-07105f7124f9
- 十分有用的c++函数库,通过调用此库,可以很方便的实现高等线性代数中复杂公式,实现二维数组的简便操作-Easy to operate very useful c++ library, by calling this library, you can easily achieve higher linear algebra complex formula to achieve two-dimensional array
out-string
- 测试函数调用是否成功。 测试编译系统连接正常与否。-Test function call was successful. Test compilation system is connected properly or not.
CvvImage
- 好多opencv的应用程序界面中在MFC中显示图像,但是我发现这些显示功能大部分用到了一个叫CvvImage的类,最近使用opencv2.3.1,发现找不到这个类了。 没有具体研究过opencv ,但是opencv在MFC中显示图像需要用的一个叫做CvvImage的类的DrawToHDC()的函数,但是我在2.3.1下却怎么也没有找到这个类,和这个函数。在2.3.1的文档下没有关于这个的任何资料,不知道是不是新版本的opencv去掉了这个类,或者用其他的方式实现了。所以我需要用以前的方式实现这个
QSort
- 快排递归算法的实现,测试数据从10000到100000000,并通过计时函数计算不同规模的数据递归快速排序所用的时间-Row fast recursive algorithm, test data 10 thousand to 100 million, and calculate the different sizes of data recursive quicksort time used by the timing function
frmmain
- 上海交大版计算机联锁仿真系统,系统主函数的代码,还有几个块,需要的联系- 上海交大版计算机联锁仿真系统,系统主函数的代码,还有几个块,需要的联系 Shanghai Jiaotong University computer interlocking simulation system, the main function of the system code, there are a few blocks, the need to contact
list
- 自己实现的一个动态链表的操作函数集,可用于windows和linux-Operating function sets a dynamic list of their own to achieve, it can be used for windows and linux
FenFangTongJiProgram
- 房屋分配及信息统计小程序,基于VC++6.0环境编写,简单实用,是用作大学课程设计的绝佳参考资料,源码注释清晰,函数分明-Housing distribution and information statistical procedures, based on the VC++6.0 environment to prepare, simple and practical, is used as a university curriculum design excellent reference
C5-1
- “鱼额宝”类可以记录账户余额、存钱、取钱、计算利息。该类中有一个私有静态成员变量profitRate存储“鱼额宝”的利率,可以用共有静态成员函数setProfitRate修改利率的值。程序输入为第1天至第n天连续n天的账户操作,每天只能进行一次账户操作,或存或取,每一天产生的利息是前一天的账户余额与“鱼额宝”利率的乘积,产生的利息当天也将存入账户余额,由于第1天之前账户不存在,所以第1天一定是新建账户并存钱,且当天不会有利息存入余额。程序在接受n天操作的输入后,要求计算出第n天操作完成后的账户余