登录
首页 » Visual C++ » Archive

Archive

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

  • HUFFMAN
    Huffan codein and decoding
    2015-03-20 17:25:33下载
    积分:1
  • juanji
    求连续函数的卷积,利用matlab中的conv函数实现(Seek a continuous function of the convolution, using the conv function in Matlab to achieve)
    2012-06-09 09:54:40下载
    积分:1
  • power-flow
    本程序用C语言实现直角坐标系下的牛拉法潮流计算(power flow calculation program using C language under the rectangular coordinate system )
    2013-10-06 19:04:05下载
    积分:1
  • VC++中调用Matlab .m函数编译后的对应c函数
    说明:  vc与matlab混合编程的具体实例,通过vc编译器调用matlab编译的.m文件。(vc mixed with Matlab programming specific examples, vc call Matlab Compiler compiled. M documents.)
    2005-09-12 10:09:51下载
    积分:1
  • ch2_10
    制作斜45度角俯视的地图 地面使用菱形贴图 基于Win32 Application 开发(Oblique angle of 45 degrees produced a map of ground overlooking the use of diamond-shaped texture development based on the Win32 Application)
    2007-12-14 09:46:33下载
    积分:1
  • rs54
    matlab rough set 粗糙集代码 matlab实现(this is a rar for rough set using matlab )
    2012-09-12 15:17:40下载
    积分:1
  • adaptive-control
    对模型参考自适应进行仿真,并且给出控制算法的改进(The model reference adaptive simulation, and gives the control algorithm )
    2011-07-09 22:10:25下载
    积分:1
  • LLMSSrarM
    LMS滤波器(最小均方误差滤波器),学学习现代数字信号处理理论的人应该用的上。 (Filter LMS (minimum mean square error filter), school learning modern digital signal processing theory should be used on.)
    2012-09-09 22:40:58下载
    积分:1
  • visualc_matlab_hybridprogram
    说明:  VISUAL C++与MATLAB 混合编程及接口调用,麻烦给我早点开通,(VISUAL C and Matlab interface and called for the trouble I opened earlier, thank you)
    2006-03-20 20:14:20下载
    积分:1
  • matlab_vc_mex
    混合编程方法,便于VC++与matlab进行混合编程(matlab and vc++ mex)
    2009-09-27 18:44:23下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载