10 lines
154 B
C++
10 lines
154 B
C++
|
#include <complex.h>
|
||
|
|
||
|
void main( void ) {
|
||
|
|
||
|
Complex a (-23.4, 28);
|
||
|
|
||
|
cout << a << " with opposite sign = "
|
||
|
<< a.operator -() << endl;
|
||
|
}
|