搜索资源列表
dwqdsort111
- 1)实现以下常用的内部排序算法并对它们的时间效率进行比较: 必做(6种):起泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、堆排序; 选做:折半插入、二路归并、基数排序等等; 2)函数首部要求:void XXXXSort(char **list, int len, int n, int *c, int *s) 其中: a) XXXXSort为排序函数名,具体如下: 起泡排序BubbleSort 直接插入排序InsertSort 简单选择排序Sele
so_sys
- 学生成绩管理 假设有一个班级的学生n人,期末考试老师要对成绩从高到低列出,并对各科的考试成绩求出其最高分、最低分和平均成绩。现在设计一个成绩管理程序,能够实现以下的功能: (1)对某门科目的成绩进行排序并显示输出; (2)求出每门科目的最高分、最低分和平均分的信息; 学生成绩的数据用结构数组表示,包括:学号、姓名、三门科目的考试成绩,其结构格式如下: 学号 姓名 语文 数学 外语 C++ int num char name[10] int score[4]-stude
Sample02
- 使用DirectDraw画线。表面是一个按线性排列的内存块,它可以用一个char数组来描述。通过调用IDirectDrawSurface::Lock()方法,就可以访问与每个表面相关的内存。-using DirectDraw line drawing. The surface is a linear arrangement on the block of memory, it can use a char array to describe. By calling IDirectDrawSurf
JS-charts_demo.zip
- JS Charts是一个Javascr ipt制图组件。支持的图表类型包括:柱状图,圆饼图,曲线图等。JS Charts支持的数据源可以是XML或Javascr ipt数组。JS Charts 是一个轻量级的免费javascr ipt 基础图表生成器,支持柱状图,圆饼图以及简单的曲线图。不需要在服务器端安装插件,只需在客户端加入javascr ipt代码。JS Charts 支持XML 和 JSON 数据。图片格式为PNG,兼容所有主要浏览器。,JS Charts is a Javascr ip
Link
- 1、用VS2010控制台程序完成,键盘输入选择的道具的坐标。 2、拥有普通游戏的控制流程:开始游戏、重新开始、退出游戏等;拥有游戏最基本的一些文字提示,如坐标输入错误、两坐标点不可连等提示;拥有最基本的一些错误判断。 3、要求使用两个道具连接判断的最优算法实现。 4、要求可以实现撤销与反撤销。 5、要求加入自动消除道具和洗牌道具(消耗性道具)。 6、要求整个工程全部用C++代码完成,不允许出现C风格代码(如用string代替char*、用容器代替数组、类等)。 -A VS
changetohex
- 介绍如何把char buffer 里的数据转换为16进制格式的 字符数组数据 转换 为 HEX 格式-Describes how the char buffer the data is converted to 16 characters in hexadecimal format array data into a HEX format
c2
- 1、 有n个学生,每个学生有m门成绩,每个学生的m门成绩用一单链表实现,n个学生所对应n个单链表的头指针用一指针数组统一存放。 1) 建立该存贮结构。 2) 查找第i个学生的某门课成绩。 链表中结点结构: struct node {char *nam;/*nam为课程名*/ float sco;/*sco为该门课程的成绩*/ struct node *link;/*link为指向下一课程结点的指针*/ -1, there are n students, e
pvpvc
- 遥控解码通过电脑串口显示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar data IRcode[4] //定义一个4字节的数组用来存储代码 uchar CodeTemp //编码字节缓存变量 uchar i,j,k //延时用的循环变量 sbit IRsignal=P3^2 //HS0038接收头OUT端直接连P3.2(INT0) /******
BF533_SST_Flash_Driver
- 2009.02.13 (Chiron.ylq) --- --- --- --- --- 该工程用于Analog Devices VisualDSP++ V5.0开发环境下,烧写Silicon Storage Technology公司SST39VF512/010/020/040系列Flash的Program Load Driver。 1. 文件结构 SST39VFXXX.dlb SST39VF512/010/020/040 Flash操作驱动 BF
fft
- Special Requirements ?nx must be a power of 2. ?The index array must be set up by bitrev_index before the function DSP_bitrev_cplx is called. ?If nx ?4K, one can use the char (8-bit) data type for the "index" variable. This would requ
Onedimensionalarrclastemplate
- 建立一维数组数据结构的模板类,使一维数组中的数据元素可以是char, int, float等多种数据类型,类中的成员函数主要包括: 排序函数,能够对数组元素进行升序排列; 查找函数,能够在输入待查元素后,输出其在数组中的下标; 构造函数,初始化输入数组元素,这里要求数组元素的个数n是一个变量; 析构函数,释放数组元素所占用的堆内存; Set函数,可以为指定的数组元素赋值; Get函数,可以读取指定数组元素的值; Print函数,可以输出数组元素的值。 编写一个测试
SEARCH
- 子程序的参数是一个N字节数组的首地址TABLE,数N及字符CHAR.要求在N字节数组中查找字符CHAR,并记录该字符的出现次数. 主程序则要求从键盘接收一串字符以建立字节数组TABLE,并逐个显示从键盘输入的每个字符CHAR以及它在TABLE数组中出现的次数.(为简化起见,假设出现次数<=15,可以用十六进制形式显示出来)-Subprogram parameter is a N-byte array of the first address of TABLE, the number of
image
- 并行计算程序 Descr iption: This program blurs an image file in a parallelized computation The root process reads the file and distributes a part of the image file to other processes. Each process makes the filter operation on the part of the image
char-string
- 运用简单的方法,实现C#中字符数组转字符串数组-Simple method used to achieve the character array to a C# string array
function3
- The DocPolynom to Character Converter The char method produces a character string that represents the polynomial displayed as powers of an independent variable, x. Therefore, after you have specified a value for x, the string returned is a syntac
function3
- The DocPolynom to Character Converter The char method produces a character string that represents the polynomial displayed as powers of an independent variable, x. Therefore, after you have specified a value for x, the string returned is a syntac
1.TFT-char
- 1.掌握TFT彩屏驱动程序的编写、 2.学会运用取字模软件应用(取字符和汉字数组) * 3.学会怎样处理字模数组数据-1. To master the preparation of the driver TFT color screen, 2. Learn to use the font software applications to take (to take an array of characters and Chinese characters)* 3.
Array
- 3.编写程序:定义一个Person类,要求: ①私有成员数据: ●char ID[ 20 ] //身份证号 ●char *name //存放姓名的动态字符数组的起始地址 ●char *address //存放住址的动态字符数组的起始地址 ②公有成员函数: ●Person ( char *n=0, char *na=0, char *ad=0 ) //构造函数 ●Person ( Person &p ) //拷贝构造函数,实现深拷贝 ●~ Person ( ) //
String-to-Char-Array
- string to character labview code
char[i][j]play
- vc++中二维数组的使用,简单例子,用于初学者学习。-The use of vc++ 2 d array, a simple example, for beginners to learn.