登录
首页 » Visual C++ » Archive

Archive

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

  • opencvcalibration
    对摄像的标定进行模拟,来分析误差对结果的影响,来确定标定的对最后结果的影响。(To simulate camera calibration to analyze the impact of the error on the results to determine the impact on the final outcome of the calibration.)
    2014-10-27 16:15:07下载
    积分:1
  • S_DBWebApplication1
    S_DBWEbapplication 实例 作为例子参考 讲解演示器作用(S_DBWEbapplication instance as an example to explain the reference to the role of presenter)
    2013-11-25 22:25:51下载
    积分:1
  • engine
    通过VC调用MATLAB引擎的范例程序,根据运行环境不同,可能要对头文件进行修改(VC call MATLAB engine through an example of the procedure, according to different operating environment may have to modify the right files)
    2009-05-12 10:13:35下载
    积分:1
  • lorenz
    Lorenz吸引子相空间轨迹相图,包括子程序和主程序,r=28时的暂态混沌状态(Lorenz attractor phase space trajectory phase diagram, including subroutines and the main program, r = 28 when the transient state of chaos)
    2015-11-23 19:52:44下载
    积分:1
  • UAV-Cooperative-Decision-and-Control
    无人机协同决策与控制英文原版,可供研究无人机协同的同学参考(the English original of UAV Cooperative Decision and Control,for the study of reference UAV cooperative students)
    2014-05-03 23:06:18下载
    积分:1
  • Matlab与VC CBuilder混合编程精选
    说明:  本套资料,包含了各种Matlab和C++混合编程的例子和理论.是研究Matlab 和VC CBuilder的最权威和经典的例子.在网上搜集的时候发了一个下午的时间。结果发现内容太少了.不得不到我们学校的图书馆去找了。找遍了整个中国期刊全文数据库(CJFD),才找到了这几篇对与编程人员来说的有帮助和参考的文章了。发了我好几块钱了,希望对那些Matlab与Vc和Cbuilder混合编程的人员有很大的帮助了.(the sets of data, including a variety of mixed Matlab and C programming examples and theory. Research VC CBuilder Matlab and the most authoritative and classic examples. The online collection of hair at a time. The results showed very little content. Our school had to find a library. Grateful the entire CJFD (CJFD), they will find this program with a few pairs of officers help and reference of the article. I made a few good money in the hope that those with vitamin C and Matlab Cbuilder mixed programming staff have great help.)
    2005-12-01 12:38:38下载
    积分:1
  • BP-neural-network--MATLAB-
    神经网络进行预测matlab,很不错,值得看看(Neural network prediction matlab, very good, worth a look)
    2013-11-15 16:54:03下载
    积分:1
  • ex18
    1. 设计在数组中查找数据模板函数 函数名: SeqSearch 参数名及顺序: 数组:list, 数据:key, 个数:n 返回: 成功:数据在数中的下标,失败: -1(1 designed to find the data in the array template function function name: SeqSearch parameter names and order: Array: list, data: key, number: n Returns: Success: Data on the number of the next standard, failed:-1)
    2014-10-24 19:38:06下载
    积分:1
  • Matlab
    暑期matlab大作业 通信系统仿真大作业(Summer matlab great job communication system)
    2013-12-21 19:31:58下载
    积分:1
  • fenduanxianxing
    三次样条插值,拉格朗日,分段线性插值的matlab程序(Cubic spline, the piecewise function interpolation method and Lagrangian matlab program, for example)
    2014-12-16 15:36:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载