登录
首页 » Visual C++ » Archive

Archive

于 2013-12-18 发布 文件大小:1KB
0 249
下载积分: 1 下载次数: 2

代码说明:

  4) 创建一个名为Complex的类,进行复数的算术运算。复数的形式为: realpart+imaginarypart*i 用浮点变量表示类的private数据。提供构造函数,能够对所声明的该类对象进行初始化。在不提供初始化值的情况下,该构造函数应包含默认值。针对以下功能,分别提供一个public成员函数。 (1)两个复数相加; (2)两个复数相减 (3)用(a, b)的形式打印复数,其中a为实部,b为虚部。 (4) Create a class called Complex, and perform complex arithmetic operations. Plural form: realpart+imaginarypart* i said private data class with floating point variables. Provide a constructor, the object can be declared for the class is initialized. In the case do not provide initialization values, the constructor should contain default values. For the following functions, which provide a public member function. (A) two complex numbers (2) the subtraction of two complex (3) (a, b) in the form of plural printing, where a is the real part, b is the imaginary part.)

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

发表评论

0 个回复

  • fuzzy
    模糊数学在聚类分析中的作用(matlab代码)(Fuzzy clustering analysis of the role in the (matlab code))
    2013-08-22 14:51:18下载
    积分:1
  • BPMPD
    BPMPD_MEX is a MATLAB® MEX interface to BPMPD, an interior point solver for quadratic programming developed by Csaba Mészáros at the MTA SZTAKI, Computer and Automation Research Institute, Hungarian Academy of Sciences, Budapest, Hungary.
    2013-05-02 15:34:39下载
    积分:1
  • kaifudexin.rar
    给创新工场求职者的一封信 有兴趣的看一下(Innovative workshops to job seekers interested in a look at a letter)
    2010-01-11 15:02:34下载
    积分:1
  • read-SA-data
    正确读取雷达基数据,适合初学者使用,是个不错的例子。(Read correctly radar base data, suitable for beginners to use, is a good example.)
    2021-03-05 20:09:31下载
    积分:1
  • Simulations-Dislocations
    介绍晶体结构,以及如何构建位错,纳米孪晶,如何利用C++与matlab编程(Introduction crystal structure, and how to build dislocations, nano twins, how to use C++ and matlab programming)
    2013-09-05 15:19:16下载
    积分:1
  • t
    说明:  文章编辑系统,输入一页文字,程序可以统计出文字、数字、空格的个数。 静态存储一页文章,每行最多不超过80个字符,共N行 (Article editing system, input a word, the program can be worked out, words, numbers, the number of spaces. Static storage an article, each line no more than 80 characters, a total of N rows)
    2010-01-25 23:00:40下载
    积分:1
  • matlab-for-beginner
    matlab的基本函数及其用法,适用于matlab初学者(the basic functions and their usage of matlab, matlab beginner)
    2012-06-01 09:07:43下载
    积分:1
  • Wheel-And-Axle
    基于matlab建立的关于汽车轴的控制模型,包括轴的运动方程和模型的建立。其实在ADVISOR中可以找到,不过,用matlab2012版重新建立了。(Established based on matlab axis control on the car model, including axis motion equations and model. ADVISOR can be found in the fact, however, re-established with matlab2012 version.)
    2013-11-22 17:02:17下载
    积分:1
  • gpu-fdtd
    FDTD simulation using GPU acceleration.
    2011-11-22 04:15:07下载
    积分:1
  • Signal-generator
    自己按照下载的信号发生器源程序编写调试,调试成功(Signal generator in accordance with their own source code download write debugging, debugging success)
    2011-10-23 16:55:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载