搜索资源列表
hangman
- 通过一个猜字母的游戏,练习perl中的直接量列表、数组、s p l i t、j o i n、上下文和f o r e a c h循环等概念-it`s a word guess game,by which you can practice the concepts array,datasheet,split,join and foreach of perl
util
- in addition to array.h, image.h and matrix.h
Assignment_1
- Exercise 1: cryptarithm_array.c (2.5 marks). A cryptarithm is a puzzle where digits have to be assigned to the letters of some words, dierent letters being assigned dierent digits, and no word starting with 0, such that a number of conditions
searching
- /* binarysearch() - A binary search implementation which takes the same * arguments as the C library function bsearch() provided by stdlib.h. It * searches the sorted array at address base, which has nmemb elements, each of * which is size b
change_charto2
- 将字符转成二进制数组 0x27,等形式 需要转的字符串放到sourcecode里面自己建立一个,结果在sourcecode.h里面-Turn the character into a binary array 0x27 the form necessary to transfer the string into the sourcecode inside themselves a result sourcecode.h inside
1
- :构建一个圆类Circle,其成员为圆心的坐标(x,y)和圆半径r,并设计构造函数(可以赋初值也可以不赋初值),析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值成员函数Set(), 取圆心坐标成员函数GetX()、GetY(),取圆半径成员函数GetR(),打印成员值成员函数Print(),计算圆面积成员函数Area()。并用此类定义长度为10的对象数组,每个对象的圆心的坐标(x,y)和圆半径r由随机数rand()产生,打印每个对象的(x,y)、r和面积;然后将对象数组按照其r值从
English-sentence-word
- 分词思想:用是s[]来存取输入的句子,t[h][j]来存储分词后的每个单词,由于每个单词也是一个字符串 ,所以要用二维数组来存,然后从s中逐个读入字符,如果是字符就将当前s[i]存入t[h][j],并 j+1,如果是空格或标点则结束上一个单词的读入,h+1,并将j置0准备下一个单词的存储-Word idea: use is s [] to access the input sentence, t [h] [j] to store each word after word, because
Lesson2
- 绘制出一个白色的正方形和一个白色的三角形。-/* * This Code Was Created By Jeff Molofee 2000 * A HUGE Thanks To Fredric Echols For Cleaning Up * And Optimizing The Base Code, Making It More Flexible! * If You ve Found This Code Useful, Please Let Me Know. *
C_Interface_VF
- C interface using GFortran and g++ of GCC This case contains four custom models which use procedures written in C. This case is meant to be used with GFortran and g++ of GCC suite. Sizes of dynamically allocated matrices and arrays ar
ProgramA
- skiing 时间限制:3000 ms | 内存限制:65535 KB 难度:5 描述 Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23
matrix
- 矩阵类模板Matrix<Type>是专门为线性代数中矩阵而设计的一个模板类,具体的函数声明与定义可以参见“matrix.h。见测试文件 matrix_test.cpp,功能如下: Matrix<Type> m 创建一个空矩阵 Matrix<Type> m2(m1) 创建矩阵 m2的拷贝 m1 Matrix<Type> m(r,c,x) 创建常数矩阵 Matrix<Type> m(r,c,a) 通过数组创建矩阵
BO7-1
- 图的数组(邻接矩阵)存储(存储结构由c7-1.h定义)的基本操作(21个-Array (adjacency matrix) storage (storage structure defined by c7-1.h) Basic operation (Figure 21
sort_sort
- 熟悉函数重载和函数模板 灵活运用数组处理数据信息 了解C++类模板vector 深入了解c++指针与引用的区别 深入剖析C++中的内存分配方式 了解C++中的构造函数、析构函数 初步了解static关键字 -请键入文字或网站地址,或者上传文档。 取消 Shúxī hánshù zhòng zài hé hánshù múbǎn línghuó yùnyòng shùzǔ chǔlǐ shùjù xìnxī liǎojiě C++lèi múbǎn ve
Array
- 数据结构 数组头文件 加入项目中可直接使用 Array.h Array.c Test.c-Data Structure Array
CDArray1
- 为初学者熟悉C++类的写法(*.h, *.cpp),实现动态数组,学会模板类的编写。-Realization of dynamic array template class for beginners familiar with C++ written*.h*.cpp and realize the dynamic array and learn a class template preparation.
kuaisupaixu
- 数据结构快速排序,借助快速排序算法思想,在一组无序的记录中查找给定关键字值等于key的记录。假设此组记录存放于数组R[l...h]中,若查找成功,则输出该记录在R数组中的位置及其值,否则显示not find信息。-Quick Sort data structure, with the quick sort algorithm thinking, look for a given key value equal to the key records in an unordered set of r
array
- Palabos 源文件array.h 就是这个货(Palabos source code 'array.h', that's it)
