complex<double>The explicitly specialized template class describes an object that stores an ordered pair of objects both of type double, first representing the real part of a complex number and the second representing the imaginary part.第一个改下:complex< double> m(5,1.02);cout <<m.imag()<<endl;cout <<m.real();pair< string, string > author( "James", "Joyce" );cout<<author.first<<endl;cout<<author.second<<endl;