Description: Define a complex number class Complex, the class is represented real and imaginary parts of the member variable, there are two constructor Complex () and the Complex (int x, int y) of the respective member variables will be initialized to 0 and the given value Another calculation of complex addition and subtraction method and output the plural of the three methods, programmed to use the class to complete 2+3 i and 6-8i sum, 12+9 i and subtract 20-8i, and the use of the plural output method results output.
To Search:
File list (Check if you may need any files):
1.doc