登录
首页 » Visual C++ » Archive

Archive

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

  • Enigma
    说明:  这是二战时期著名的,独领一时风骚的密码机Enigma的源代码,它真实的再现了Enigma的工作原理和真实原貌,希望有兴趣的朋友共同参详(This is the famous World War II, was the sole lead of 1:00 coquettish Enigma cipher machine source code, it is a true reproduction of the working principle of the Enigma and true original, want to have a friend interested in the common parameters are set)
    2010-03-26 13:15:23下载
    积分:1
  • simulations-in-complex-networks
    复杂网络中典型网络的matlab仿真(包括小世界网络,BA网络,随即图等等)(matlab simulations in complex networks)
    2012-05-06 21:37:47下载
    积分:1
  • small_image
    MATLAB实现的高光谱图像的端元提取,可以自己下载高光谱图像,然后修改下程序就能用了。(MATLAB implementation of hyperspectral image endmember extraction of hyperspectral images can download and modify the following program can be used.)
    2021-04-19 20:58:51下载
    积分:1
  • BoostHelp
    关于boost库的开发,使用的知道教程。里面的内容很详细,说明都有,适合新手使用。(Know about the boost library development, the use of the tutorial.The inside of the content is very detailed description, all have, suitable for beginners to use.)
    2014-11-21 10:13:37下载
    积分:1
  • P_Mgaijin
    这是很好的Matlab文件,pm模型的源代码,分享给大家(This is a good Matlab files, pm model the source code to share for everyone)
    2011-05-06 13:44:51下载
    积分:1
  • LMS_equalizer
    自适应均衡中LMS算法的仿真程序,输出曲线与均方误差曲线(Adaptive equalization in the LMS algorithm simulation program, the output curve and the mean square error curve)
    2011-06-20 16:30:32下载
    积分:1
  • AIAA-2006-6753
    SGP4官方程序,包括matlab,java,C++等源码和说明文件(Official program of SGP4 model,includes Matlab, VC, Java, etc.)
    2021-03-15 17:59:22下载
    积分:1
  • count
    使用VC创建Matlab数组、删除数组,进行二次编程(Matlab using the VC to create an array, delete array, a second program)
    2011-11-20 18:36:34下载
    积分:1
  • envelop_by_xcorr
    Matlab 自相关方法求声音信号包络源代码及说明(Method Matlab autocorrelation envelope of the voice signal and note the source code)
    2009-04-26 11:39:59下载
    积分:1
  • Sonar_Exp_v2_CW
    声纳技术 常用水声信号及其处理方法 内容 CW信号(Commonly used in underwater acoustic signal processing method)
    2012-04-15 08:54:09下载
    积分:1
  • 696518资源总数
  • 104775会员总数
  • 42今日下载