登录
首页 » Visual C++ » Archive

Archive

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

  • MATLAB-SimMechanics
    MATLAB-SimMechanics机构动态仿真讲解教程(Dynamic simulation of MATLAB-SimMechanics bodies to explain the tutorial)
    2012-06-27 16:39:36下载
    积分:1
  • example-2.29-1.0.0.tar
    LIBRARY ZIGBEE WIRELESS SENSORS
    2010-02-09 22:36:39下载
    积分:1
  • VCmatlab
    对于在Visual C++中调用Matlab应用程序接口,关键在于设置编译环境和使用正确的调用规则,然后,在发布软件时携带必要的动态连接库就可以保证程序的独立性(Matlab Application Program Interface in Visual C++ call, the key is to set the compiler environment and use the correct call rules, then carry the necessary dynamic link library publishing software program can guarantee the independence of)
    2012-11-12 21:37:26下载
    积分:1
  • jielian
    捷联惯导航姿系统C语言实现,可以方便的得到飞机的飞行姿态。(Navigation position system SIMU program development, you can easily get the aircraft attitude.)
    2011-12-26 18:40:12下载
    积分:1
  • xingyouxian
    Matlab的行优先算法,可以方便的判断对如机场、火车站、公交车的就座问题进行分析(Matlab line priority algorithm, it will be convenient for the judge, such as airports, railway stations, bus seat to undertake an analysis of)
    2007-11-25 15:45:11下载
    积分:1
  • MioStar_0_2
    DLLInjector DLLInjector source code MioStar MioStar source code MioStar GUI MioStar GUI source code MioStar Application All pieces assembled togheter. Run the MioStar GUI.exe to run it. the rest should be self explaining.
    2014-09-03 16:47:52下载
    积分:1
  • SglMFC
    绘图函数用mcc生成的代码嵌入VC工程实例,Win32 MFC版本(mapping function using mcc generated code embedded VC engineering example, Win32 version MFC)
    2005-08-09 18:43:02下载
    积分:1
  • GPU_FDTDfdtd
    一个GPU的FDTD程序,可以参考一下。(A GPU FDTD procedures, you can refer to.)
    2014-01-09 17:11:48下载
    积分:1
  • Do2
    窗口鼠标同步器源码。可以同步多个窗口的鼠标操作(Window mouse synchronization source. You can synchronize multiple windows mouse)
    2014-01-04 21:43:10下载
    积分:1
  • SXHS
    求水仙花数的源码,可以运行的,我是菜鸟,请大家都来指教下吧,谢谢了!(The source seeking a few daffodils, you can run, and I was rookie, let us all come under the Zhijiao bar, thank you!)
    2010-01-08 20:31:29下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载