发布时间:2013-01-03 17:38:18
20.2 Creating and Using Complex Numbers In the following sections we describe the operations used to create and manipulate complex numbers. 20.2.1 Declaring Complex Numbers The template argument is used to define the types associated with the real and imaginary fields. This argument must be one......【阅读全文】
发布时间:2013-01-03 17:35:36
Describes an object that stores an ordered pair of objects both of type double, the first representing the real part of a complex number and the second representing the imaginary part. Copy template<> class complex<double> { public: complex( double _Rea......【阅读全文】