登录
首页 » Visual C++ » Archive

Archive

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

  • 8neddemo
    入门omnet++,omnet++仿真实验,欢迎大家一起交流。(It is very useful for student who study omnet++.)
    2010-01-09 22:04:06下载
    积分:1
  • netlab-nn-for-pattern-nebley
    this book very important excellent
    2012-01-12 17:00:34下载
    积分:1
  • grayscaltransform
    说明:  一个简单的色彩迁移程序,可以顺利的实现对灰度图像的上色,程序编译通过,有较好的效果(a simple relocation process color, the smooth realization of the right color to grayscale images, compiler, better results)
    2006-02-28 09:56:04下载
    积分:1
  • LMS_test
    Hello everybody,I am MAO,I am studying Least mean square algorithm right now.
    2015-03-04 11:39:23下载
    积分:1
  • c
    说明:  c自理阿婆;了解了解顾客了 快乐 噶爱国 (c self grandmother learn about customer happiness Karma patriotic)
    2010-04-04 16:47:04下载
    积分:1
  • STFT
    用于MATLAB产生短时傅里叶变换的函数(USED TO GENERATE THE STFT NUM)
    2014-06-19 17:28:38下载
    积分:1
  • SOJ3543
    SOJ3543 序列操作,线段树经典题目,重点在于线段树的维护。此为10年初做此题的源码,与各位分享(the code of SOJ3543 )
    2014-11-20 13:35:54下载
    积分:1
  • Matlab3DmodelsimulationunderDLA
    简要概述了最具代表性的分形结构--扩散限制凝聚(Diffusion-Limited-Aggregation,DLA)模型的生长规则、主要性质,给出了模型模拟分形生长的算法,在MATLAB6.5平台上进行了程序设计,在Windows98/2000/XP下实现了DLA模型模拟生长的动态过程.(Briefly summarizes the most representative of the fractal structure- diffusion-limited condensed (Diffusion- Limited- Aggregation, DLA) model of growth rules, the main properties, gives the model simulation processes-fractal growth algorithm, by MATLAB6.5 platform for software design, in Windows 98/2000/XP realize DLA model to simulate the growth of dynamic process.)
    2010-11-17 18:45:42下载
    积分:1
  • KalmanFilterWay
    卡尔曼 滤波 去除噪声 测定俯仰角 方位角 距离 等等(kalman filter)
    2016-12-27 14:46:30下载
    积分:1
  • Nativeappdemo
    native application的一个demo,可以象chkdsk那样运行(native application of a demo, can occur as did running)
    2007-02-01 13:22:43下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载