搜索资源列表
cclassshape
- 声明一个基类Shape(点), 在此基础上派生出Rectangle(长方形)和Circle(圆),这三个类都有GetArea()函数计算对象的面积,构造函数,析构函数等有关函数。再使用Rectangle类创建一个派生类Square(正方形)。并设计创建各种类的对象,调用所有函数。设计函数f(Shape &a)能对不同对象的实参调用计算打印出对象的面积。 -statement a base class Shape (points) On this basis -- for Rectangle
yhsj_
- 打印杨辉三角,输出杨辉三角形数据,呈直角形状-Print Pascal's Triangle, Yang Hui triangle output data showed rectangular shape
操作系统进程内存管理模拟
- 有关此程序的功能请见程序中的帮助菜单程序难点1:创建Windows xp中按钮样式解决方法:使用标签控件与形状控件一起形成此样式此方法缺点:由于标签没有TAB事件,所以不能使用键盘控制按钮。此缺点解方法:截取键盘事件,以响应TAB事件(时间有限,没有实现)程序难点2:实时与分时混合应用解决方法:置一FOR循环在TIMER中,先判断并响应时实进程,再置另一当循环在TIMER中,无时实时再执行分时进程。程序难点3:分页式内存管理的调度方式解决方法:具体方法见程序中的注释。程序难点4:基于优先级的调度
算法C SHAPE版
- 数据结构常用算法c#版!有数值分析中的各种插值算法!-algorithm commonly used data structures c # version! A numerical analysis of the various interpolation algorithm!
语法分析之左递归实验
- 此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (1)把文法G的所有非终结符按任一种顺序排列成P1,P2,…Pn 按此顺序执行 (2)FOR i:=1 TO n DO BEGIN FOR j:=1 DO 把形如Pi→Pjγ的规则改写成 Pi→δ1γ δ2γ … δkγ。其中Pj→δ1 δ2 … δk是关于Pj的所有规则; 消除关于Pi规则的直接左递归性 END (3)化简由(2)所得的文法。即
minimum-spanning-tree
- 使用C#图形界面生成最小生成树,核心算法使用Prim算法。图的形状可以在源文件中的图定义处修改。-C# graphical interface to generate a minimum spanning tree, the core algorithm using Prim algorithm. The graph shape defined in the source file in Figure modify.
Printbinarytreestructure
- 用来打印二叉树结构的程序。把打印二叉树形状给打印出来!-Binary tree structure used to print process. To print binary tree shape to print out!
culculate_area
- 计算几何形状的面积. 有10个几何形状,其中3个矩形,4个三角形,3个圆形.函数area()计算每个形状的面积. -The shape of the area of computational geometry. Geometry 10, in which three rectangular, four triangles, round three. Function area () area of each shape.
tree
- 功能全面的二叉查找树与红黑树的性能比较算法,可以输出树的外形,并且支持用户自定义调整。-Full-featured binary search trees and red-black tree performance comparison algorithm can output the tree shape, and supports user-defined adjustments.
btree
- 树型结构上机作业 1 建立二叉树 1)通过输入树的嵌套括号表示序列 2)根据前序遍历序列和中序遍历序列建立二叉树 3)建立哈夫曼树 2. 对于1中1),2)所建立的树进行如下操作: 1)查找结点 2)前序遍历 3)中序遍历 3 对于建立的哈夫曼树进行编码 4 输出二叉树的形状 -Operating a tree structure on the plane to establish binary 1), enter the tree th
n!
- 求解n!的算法。用c++语言描述,挺好的。-Solving n! Algorithms. Using c++ language to describe, in very good shape.
horse
- 问题描述与实验目的 给定8*8方格棋盘,求棋盘上一只马从一个位置到达另一位置的最短路径长。 注意马是走“日”形的。 输入 输入有若干测试数据。 每组测试数据仅1行,每行上有2个方格pos1、pos2,之间用一个空格隔开,每格方格表示棋盘上的一个位置,该位置由表示列的1个字母(a-h)及表示行的一个数字(1-8)构成,如“d7”表示第4列第7行。 输出 对输入中每行上的2个方格pos1、pos2,输出马从位置pos1跳到pos2所需的最短路径长。如“a1==>a2
tree
- 1 建立二叉树 1)通过输入树的嵌套括号表示序列 2)根据前序遍历序列和中序遍历序列建立二叉树 3)建立哈夫曼树 2. 对于1中1),2)所建立的树进行如下操作: 1)查找结点 2)前序遍历 3)中序遍历 3 对于建立的哈夫曼树进行编码 4 输出二叉树的形状-1 Create a binary 1) by entering the sequence of the tree of nested brackets 2) According to the preorder traversal sequ
stereo-matching
- 关于自适应窗口算法的描述,很详细,是最经典的自适应窗口算法,值得学习-We present a method to select an appropriate window by evaluating the local variation of the intensity and the disparity. We employ a statistical model of the disparity distribution within the window. This mod
TemplateFun
- :(1) Ddscat计算消光谱。 (2) Ddfield计算电场分布,需要的参数有网格。 (3) Calltarget生成粒子形状。 -: (1) Ddscat calculate the extinction spectrum. (2) Ddfield calculate the electric field distribution, the required parameters grid. (3) Calltarget generate the particle shape.
Shape
- 执行学生管理的错误的抛出,并将数据写入到文件中-Execution error is thrown, and the data written to a file
Spiral-shape
- vc++实现数据结构中的螺旋数字输出,使用矩阵转置和队列-Spiral shape
ToH
- The Tower of Hanoi (also called the Tower of Brahma or Lucas Tower,[1] and sometimes pluralised) is a mathematical game or puzzle. It consists of three rods, and a number of disks of different sizes which can slide onto any rod. The puzzle starts wit
hafuman
- 该程序为实现哈夫曼的一些应用而设计的,其中用到了MFC直观的打印了树的形状,并且在界面上做了些美化工作,用到了屏幕雨,通过光标移动可控制程序的菜单,等等。-The program for the Huffman some applications and design, which uses the MFC prints intuitive tree shape, and the interface to do some landscaping work, use a rain screen,
shape
- 基类虚函数,容器的范例,求多个图形面积的源程序程,全部工程文件。-source program example,use base class ,public,virtual function,to get the area of different diagrams.include all project
