登录
首页 » Visual C++ » Archive

Archive

于 2013-12-18 发布 文件大小:1KB
0 273
下载积分: 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 个回复

  • erziyoudumoxing1
    EPS小日本的东西挺好的 EPS小日本的东西挺好的(Good little things EPS of EPS in Japan Japan' s something very good small)
    2011-10-08 08:57:52下载
    积分:1
  • MusicPlayer
    一个好用的音乐播放器源码,最终程序编译后只有几十KB。VC++2010编译通过。 AppWizard has created this MusicPlayer application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application.( AppWizard has created this MusicPlayer application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application.)
    2015-08-25 15:34:53下载
    积分:1
  • JA_IA_for_an_unstructured_Mesh
    Finding JA IA for an unstructured Mesh
    2014-11-26 15:50:51下载
    积分:1
  • Fuzzocess
    模糊专家控制在制浆中段废水好氧处理过程中的应用Fuzzy expert control aerobic treatment of wastewater in the Pulping Process(Fuzzy expert control aerobic treatment of wastewater in the Pulping Process)
    2011-02-15 20:43:42下载
    积分:1
  • Language
    拉格朗日插值matlab程序,不是自带函数(laglangri matlab pro)
    2015-04-09 17:21:19下载
    积分:1
  • hipr
    使用push-relabel方法求解最大流问题,是国外的一个研究机构编写的,速度很快。(This is an efficient implementation of the push-relabel method. See Goldberg and Tarjan, "A New Approach to the Maximum Flow Problem," J. ACM Vol. 35, 921--940, 1988 and Cherkassky and Goldberg, "On Implementing Push-Relabel Method for the Maximum Flow Problem," Proc. IPCO-4, 157--171, 1995.)
    2009-11-23 11:00:19下载
    积分:1
  • tracker-code-2011.04.26
    tracker code-tra an ozalp source code good use project in pls
    2012-02-11 05:05:32下载
    积分:1
  • fuhaoyunsuan
    说明:  MATLAB数学实验之符号运算,其中包含课件以及习题和答案,文档中附有源程序(MATLAB Mathematical experiments symbolic computation, which includes courseware, as well as exercises and answers documents available source)
    2006-03-08 15:26:10下载
    积分:1
  • windbg
    NT4 component WinDbg source for developer reference
    2015-02-10 04:19:38下载
    积分:1
  • multiply2
    三元组表示的稀疏矩阵的加法,减法,乘法运算器-Triples express the sparse matrix of the adder, subtraction, multiplication device(ples express the sparse matrix of the adder, subtraction, multiplication devic)
    2015-01-06 20:51:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载