登录
首页 » Visual C++ » Archive

Archive

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

  • Fourier-Matlab-Basics
    Fourier Matlab Basics. This file is for MATLAB Basics.
    2012-06-23 22:42:12下载
    积分:1
  • hafumanbianma
    输入各个字符及对应出现的次数 ; 建立赫夫曼树并对各个字符进行编码 ;然后 对 输入 的 二进制 串进行 译码(Enter the various characters and the corresponding number of emerging establish Huffman tree and the various characters coding then enter strings of binary decoding)
    2007-12-16 18:50:01下载
    积分:1
  • list
    Program to implement a list data structure in C++ (partial) With debug output for poor-man s animation
    2007-11-10 15:25:40下载
    积分:1
  • MatlabVB
    MATLAB具有强大的科学计算功能, 含有大量多目标优化分析函数。依据技术将函数在 环境下进行调用, 进行多目标优化集成系统开发, 实现数据的自动输入和输出功能, 编制了MATLAB与VB的数据接口代码, 提出程序设计时应注意的问题。(MATLAB has powerful scientific computing functions, contains a large number of multi-objective optimization analysis function. Based technology will function in the environment calls for multi-objective optimization of integrated system development, automated data input and output functions, the preparation of the MATLAB data interface with the VB code, the program design should pay attention to the problem.)
    2008-07-21 12:38:40下载
    积分:1
  • Cmd_on_TitleBar
    Add a button on main window title bar
    2014-10-12 00:00:39下载
    积分:1
  • me
    说明:  修改视图图标及标题,能够让程序员使用自己设定的标题及图标(Edit View icon and title, allowing programmers to use their own title and icon set)
    2010-04-22 01:42:06下载
    积分:1
  • kalman
    Visual C++编程实现Kalman滤波器(It realize the Kalman filter with visual c++)
    2010-08-11 20:12:39下载
    积分:1
  • Dds--sssi
    直接序列扩频的matlab程程序源码,希望有用 (Direct Sequence Spread Spectrum Matlab process program source code, I hope useful)
    2012-07-26 23:45:31下载
    积分:1
  • spline
    说明:  实现三次样条差值,与matlab实现的精度一样(Realize the difference between cubic spline, and the precision to achieve the same matlab)
    2011-04-07 10:04:18下载
    积分:1
  • chapter09
    matlab 中的一些很用的 基本代码。数值分析于应用一书里面的例子。(Matlab numerical analysis in the application of some very basic code.)
    2013-04-27 10:42:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载