登录
首页 » Visual C++ » Archive

Archive

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

  • xtfz
    Visual C++与MATLAB的数字基带传输系统仿真的实现(Visual C++ and MATLAB simulation of digital baseband transmission system to achieve)
    2011-06-16 06:16:20下载
    积分:1
  • matlab-toolbox
    Matlab 工具,各类积分,二次定积分,gquad2dggen等(Matlab tool, all kinds of points, the second definite integral, gquad2dggen etc.)
    2013-08-25 21:22:26下载
    积分:1
  • MIMO-OFDM-Wireless
    仿真书籍: Communications with MATLAB(Simulation books: Communications with MATLAB)
    2013-04-12 17:07:42下载
    积分:1
  • DivXTest
    一个测试播放 DivX编码的数据影像的Project。 (a test broadcast DivX encoded video data Project.)
    2007-02-10 12:49:18下载
    积分:1
  • hecheng
    设关系A是从集合X={1,2,….,n}到集合Y={1,2,…..,m}的二元关系,而关系B是从集合Y到集合Z={1,2,….,p}的二元关系,求A与B的合成关系C。(A relationship is established from the set X = (1,2, ...., N) to the collection Y = (1,2, ... .., m) of binary relations, the relationship B is from a collection of Y to the set Z = ( 1,2, ...., p) of the binary relation, find the relationship between A and B, synthesis of C.)
    2009-12-23 13:13:00下载
    积分:1
  • ASK_Done
    基于的ASKmatlab,完整的程序,有能相关的说明和注释,有需要的朋友下载吧~(Based on the ASKmatlab, complete program and relevant instruction and comments, the need to download friends ~)
    2011-11-15 13:22:14下载
    积分:1
  • corrosions
    形态学的膨胀,腐蚀,细化的MATLAB的源代码,对初学者有用(Morphological expansion, corrosion, thinning of MATLAB source code, useful for beginners)
    2015-04-02 19:39:39下载
    积分:1
  • F_MF_DFA_q
    计算广义的hurst指数,本课题组编写程序,欢迎使用(compute general hurst, our group write program,welcome to use)
    2012-05-08 16:18:43下载
    积分:1
  • matlab-image-processing-
    各种经典图像处理算法的matlab源代码,初学者可以看看(A variety of classical image processing algorithm Matlab source code, beginners can take a look at)
    2012-08-11 14:07:35下载
    积分:1
  • tianxian
    共面波导馈电的超宽带天线研究_有效解决天线问题(Ultra-Wideband Antenna coplanar waveguide fed _ effectively solve antenna problems)
    2015-03-30 10:23:20下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载