搜索资源列表
3
- 关于猎人过河问题 要解决这个问题就要使过河时载两个过河,返回时尽量只有一个回来。用一个字符串数组来存猎人,狼,羊,白菜;下标依次为0,1,2,3;但他们都有河这边和那边两种状态;为方便则定义一个结构,只含一个int型变量n;当在河这边时n设为0;在河那边时n设为1。由于每次过河与返回都要考虑狼能否吃羊或羊能否吃白菜;则需要一个函数来判断每次选择是否满足条件。
polyadd
- 数据结构用数组实现了两个多项式相加,用数组实现多项式的存储-Array data structure implementation using the sum of two polynomials, the polynomial storage array implementation
GA
- 本程序运用了遗传算法,解决了以数组为数据结构的最优路径选择问题。-This procedure using genetic algorithm, to solve the array data structure for the selection of the optimal path.
test_subfunc_dynamic_call_space
- 该程序说明 在子函数中创建的结构体或数组无法通过将指针送出的方式送出 即:在子函数调用中,只有动态申请的内存空间在退出子函数时不被释放-The descr iption of the procedures Structure or array created in the subfunction can not be pointer sent sent : In subroutine calls, the only dynamic application memory space
cmobliphone
- C语言实现设计一个简易的手机通讯录管理系统。该题目要求在熟练掌握C语言的基本知识:数据类型(整形、实型、字符型、指针、数组、结构等);运算类型(算术运算、逻辑运算、自增自减运算、赋值运算等);程序结构(顺序结构、判断选择结构、循环结构);大程序的功能分解方法(即函数的使用)等。进一步掌握各种函数的应用,包括时间函数、、绘图函数,以及文件的读写操作等。-Design a simple mobile phone address book management system. The subject
a
- 程序运行后,给出6个菜单项的内容和输入提示,具体如下:1. 数字排序 2. 字符查找3. 矩阵变换 4. 结构体数组5. 三次方程 6. 字符串删减7. Goodbye!-Program runs six menu items and input prompts are given as follows: 1. Sort of figure 2. Characters find the three matrix to transform the structure array. Cubi
xuezhiwenzhang
- 这是一个关于指针,数组,结构的文章,要想学好掌握好指针,要多看看文章,多理解-This is an article pointers, arrays, structures, in order to learn to master pointer to see more articles, more understanding
Student-management-system-----2
- 学生信息管理系统 vc环境下的dos版学生信息管理系统 c语言版数组实现多文件结构 可做C/C++课程设计-Student information management system vc environment dos version of student information management system c language version of the array to achieve multi-file structure do C/C++ curriculum design
avrOperation
- C语言核心基础知识:结构体,指针,数组的源码,包含学生信息的结构体。-C language Core Basics: structure, pointers, arrays of source, including student information structure.
algorithm-CPP
- 数据结构面试常考算法,C++实现 包含数组、字符串、链表、二叉树、排序-Interview data structures algorithm, C++ contain arrays, strings, linked lists, binary trees, sorting
mhc02
- 采用指向指针的指针来动态分配二维数组,存储读取的文本结构内的数据。求得这二维数组内的行均值与协方差,并整齐输出,最后对所分配的内存进行释放!-Using a pointer to the pointer to dynamically allocated two dimensional array, storage read text structure within the data. Obtained in the two dimensional array of mean and covar
RadixSort
- 数据结构中的基数排序,这里是通过二维数组实现,简单易懂-Data structure radix sort, here is achieved through a two-dimensional array, easy to understand
snake
- VC++6.0编写的控制台C/C++贪吃蛇游戏,游戏使用了数组,指针,文件操作,没有使用结构体,单双链表,适合初学C++同学练习! C/C++语言作业:zjlj jhanker,2015.3.16-VC++6.0 written in the console C/C++ Snake game, the game uses the array, pointer, file operations, without the use of structure, single and double lin