搜索资源列表
经典汉诺塔问题c语言版
- 汉诺塔是初学数据结构的同学最头疼的问题,这里是一个用递归函数解决汉诺塔问题的经典c语言程序,里面有代码和执行文件。-HANOR data structure is that when the students most headaches, here is a solution using a recursive function HANOR a classic c language program, which has code and the implementation document.
MD5加密的C++类
- 这是一个好用的MD5的C++类;这个类可以加在控制台 程序中也可用在MFC中, 并且提供了详细的错误处理 函数,是一个安全的类。例程是一个MD5的MFC程序, 支持字符串和文件两种输入。 LPCSTR TargetFile(char *filename=NULL) //计算文件的MD5值 void TargetStr(LPCSTR str) //计算字符串的MD5值 LPCSTR GetDigestKey() //取MD5运算后的结果 LPCSTR GetErr() //如果有错误,取错误字串
图论算法库 C++ 语言实现
- 图论算法库 C++ 语言实现 代码内容 图论算法库,包括以下算法: 单源最短路径 Dijkstra 算法 单源最短路径 Bellman-Ford 算法 最小生成树 Prim 算法 每对节点间最短路径 Flod-Warshall 算法 语言 C++ 编译平台 VisualAge C++ 4.0 作者 starfish (starfish.h@china.com) 备注 程序用C++语言编写,在VisualAge C++ 4.0下调试通过。压
C#基础例子
- C#经常用到的基础实例,传值调用与引用调用,打印三角形,递归实例,重载,虚函数,冒泡排序 ,接口
c-pso
- c语言的pso算法,用测试函数shpere验证的 还行,大家多支持哈
c++2
- 第六章 模板与数据结构习题 6.2.1 需要编写一个对多维数组通用的算法(即各维的大小未定),怎样才能把实参多维数组的信息全部传递到函数中去?
数据结构的C++描述
- 目 录 译者序 前言 第一部分 预备知识 第1章 C++程序设计 1 1.1 引言 1 1.2 函数与参数 2 1.2.1 传值参数 2 1.2.2 模板函数 3 1.2.3 引用参数 3 1.2.4 常量引用参数 4 1.2.5 返回值 4 1.2.6 递归函数 5 1.3 动态存储分配
code
- 1、猴子选大王 2、约瑟夫环 3、迷宫求解 4、回文游戏 5、地图四染色问题 6、八皇后问题 7、原四则表达式求值 8、k阶斐波那契序列 9、遍历二叉树 10、编写DFS算法的非递归函数。 编写BFS算法。 11、简单选择排序, 折半插入排序, 冒泡排序, 快速排序, 堆排序 12、顺序查找,折半查找-err
NZI
- C函数源码,还好的吧,应该来说,里面基本上有了-C function source code, the better it should be run, which basically have
C++
- 标准答案习题1 1.1 简述C++语言程序的结构特点。 答: (1)C++程序由一个或多个函数组成,其中至少有一个主函数main(),程序从主函数开始执行,由主函数来调用其他函数。-Standard answer to Exercise 11.1 on C++ Language program structural characteristics. Answer: (1) C++ Procedures by one or more functions, of which at lea
c
- 判断并输入一元多项式。 2、能够进行两个一元多项式的加法、减法与乘法,并输出结果。 3、结果M(x)中无重复阶项和无零系数项。 4、引用参数交换函数。 -failed to translate
c
- 程序包含实现排序的递归函数;把一个文件中的内容输出到另一个文件中;交换两个地址中的数据等。-Achieve the sorting process consists of recursive function to output the contents of a file to another file the exchange of two addresses in the data.
C
- 用基数排序算法思想为整数链表编写一个排序函数-With the idea of radix sort algorithm to write a sort function, an integer list
malloc
- C语言内存分配函数malloc的源代码,让你更清楚C语言中的内存模型-source code of molloc.c
c
- 一个求函数极值问题,用黄金分割法-Extreme Value of a demand function, with the golden section! ! ! !
c
- 利用string类与相关函数,实现任意字符串的反转。如:“abcdef”反转后为“fedcba”-Using string classes and related functions, to achieve an arbitrary string reversal. Such as: " abcdef" reversal after " fedcba"
Sort.function.set.development.code.C
- C排序函数设置开发代码Sort function to set the development of the code C -Sort function to set the development of the code C
Demo_Sort
- C++ 排序函数模板源码,MFC程序可用(冒泡) 一个排序可以用的C++函数模板,无意间需要对字符串集合CStringArray进行排序,但标准模板库STL提供的函数模板sort虽然功能强大,不过有些不便-Can be a sort of C++ function template, a collection of unintentionally CStringArray need to sort the string, but the standard template library
C-Library
- c语言库函数,包含函数的参数、返回值介绍-c language library functions, including function parameters, return values described
Demo_Sort
- 一个排序可以用的C++函数模板,对算法感兴趣的可以参考下。-Can be a sort of C++ function template, the algorithm is interested can refer to.