Description: (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.
To Search:
File list (Check if you may need any files):
fushujisuanqi.doc