登录
首页 » Visual C++ » Rectangle

Rectangle

于 2012-10-24 发布 文件大小:4KB
0 339
下载积分: 1 下载次数: 3

代码说明:

  根据输入的长宽,计算Rectangle面积周长等功能,并画出在txt文件中(Rectangle Create a class Rectangle with attributes length and width, each of which defaults to 1 a. Provide member functions that calculate the perimeter and the area of the rectangle. b. Also provide set and get functions for the length and width attributes. The set functions should verify that length and width are each integer numbers larger than 0 and less than 20. c. Write draw function to display the Rectangle: in Assignment1. ) d. Write a driver program to test class Rectangle.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • theSecond
    这个程序分别用二分法,Newton法,弦截法,Newton下山法等算法求解非线性方程(this procedure were used dichotomy, Newton, String interception, Newton downhill law for solving nonlinear equations)
    2006-10-18 11:01:49下载
    积分:1
  • cddbn__Y1020918
    研究典型相关分析的各种线性算法和非线性算法,并通过实验数据的比较说明了它们各自的特点(Canonical Correlation Analysis Study of the various linear and nonlinear algorithms algorithms, and through comparison of experimental data shows the characteristics of their respective)
    2008-05-06 09:38:56下载
    积分:1
  • calculator
    用mfc实现计算器的基本操作,支持键盘输入,并保留xp风格,可计算平方,幂,时间显示等操作(With mfc achieve the basic operation of the calculator, support for keyboard input, and retain xp style, calculates the square, power, time display and other operations)
    2013-10-23 15:22:24下载
    积分:1
  • UDFlizi
    基于FLUENT软件的一些常用UDF实例,比较有帮助(udf example)
    2015-10-20 15:56:14下载
    积分:1
  • zjbhydm
    正交变换源程序,带vc工程。 学习正交变换算法的有力工具。(Orthogonal transformation source code, with vc works. Orthogonal transformation algorithm to learn a powerful tool.)
    2008-04-01 22:53:07下载
    积分:1
  • KMEANS
    This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real) To compile: ICC KMEANS.CPP <enter> (This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector]- vector N (real) To compile: ICC KMEANS.CPP <enter> )
    2013-01-05 23:11:23下载
    积分:1
  • EECCl
    椭圆曲线密码体制中的ECC校验验算法分析和程序实现可直接使用。 (The inspection algorithm analysis and procedures of the elliptic curve cryptosystem ECC can be used directly.)
    2012-06-07 21:01:20下载
    积分:1
  • CODE_SOLIDIFICATION
    基于热焓法的凝固传热模拟的UFluent-UDF程序(UDF for Modelling Soldification using Enthalpy Porosity Technique)
    2021-04-16 20:08:53下载
    积分:1
  • 1parallel
    用于FLUENT计算结构单自由度涡激振动,采用四阶龙哥库塔法,并设置了并行计算(FLUENT, VIV, Fourth order Runge-Kutta )
    2016-09-30 18:49:07下载
    积分:1
  • all
    计算流体力学软件Fluent中所有的曳力模型UDF程序(Fluent CFD software, all of the drag model for UDF)
    2020-11-25 17:29:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载