文件名称:fushujisuanqi
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
(一) 题目
复数计算器
(二) 功能要求
实现对复数的+、×、+=、-=、×=、++、――、>=、<=、!=运算,其中>=、<=是针对复数的模进行运算。
(三) 解决方案
1. 明确实验操作对象和目的。
2. 针对目的和对象进行总体设计。
3. 细化流程:书写程序,编译、运行并调试。
(四) 设计思路
定义一个复数类complex。
声明所需成员函数和友元函数对各运算符进行重载。
定义各成员函数。
定义主函数,实现对整个程序的控制。
编译、运行并调试。
-(A) Title
Complex Calculator
(B) the functional requirements
Achieve the plural+,×,+=,-=,×=,++,--,>=,<=,!= operation, where >=,<= for plural mold for operations.
(C) solution
1 clear object and purpose of the experimental operation.
(2) the purpose and object for the overall design.
3 refinement process: writing the program, compile, run and debug.
(D) design ideas
Define a complex type complex.
statement required member functions and friend functions of the operator to overload.
definition of member functions.
define the main functions, to achieve control of the whole process.
compile, run and debug.
复数计算器
(二) 功能要求
实现对复数的+、×、+=、-=、×=、++、――、>=、<=、!=运算,其中>=、<=是针对复数的模进行运算。
(三) 解决方案
1. 明确实验操作对象和目的。
2. 针对目的和对象进行总体设计。
3. 细化流程:书写程序,编译、运行并调试。
(四) 设计思路
定义一个复数类complex。
声明所需成员函数和友元函数对各运算符进行重载。
定义各成员函数。
定义主函数,实现对整个程序的控制。
编译、运行并调试。
-(A) Title
Complex Calculator
(B) the functional requirements
Achieve the plural+,×,+=,-=,×=,++,--,>=,<=,!= operation, where >=,<= for plural mold for operations.
(C) solution
1 clear object and purpose of the experimental operation.
(2) the purpose and object for the overall design.
3 refinement process: writing the program, compile, run and debug.
(D) design ideas
Define a complex type complex.
statement required member functions and friend functions of the operator to overload.
definition of member functions.
define the main functions, to achieve control of the whole process.
compile, run and debug.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fushujisuanqi.doc