0_0_30270117_20862.cpp: In function 'bool getpp(P, P, P, P, P, P, D&, D&)':
0_0_30270117_20862.cpp:57:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=A; p2=B;
^
0_0_30270117_20862.cpp:57:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=A; p2=B;
^
0_0_30270117_20862.cpp:61:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=N; p2=M;
^
0_0_30270117_20862.cpp:61:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=N; p2=M;
^
0_0_30270117_20862.cpp:65:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=A; p2=M;
^
0_0_30270117_20862.cpp:65:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=A; p2=M;
^
0_0_30270117_20862.cpp:69:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=B; p2=N;
^
0_0_30270117_20862.cpp:69:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
p1=B; p2=N;
^
0_0_30270117_20862.cpp:73:6: error: declaration of 'int t' shadows a parameter
int t=0;
^
0_0_30270117_20862.cpp:79:11: error: invalid types 'int[int]' for array subscript
p1=p2=t[0];
^
0_0_30270117_20862.cpp:81:15: error: invalid types 'int[int]' for array subscript
if (cmpx(t[i],p1)) p1=t[i];
^
0_0_30270117_20862.cpp:81:28: error: invalid types 'int[int]' for array subscript
if (cmpx(t[i],p1)) p1=t[i];
^
0_0_30270117_20862.cpp:82:18: error: invalid types 'int[int]' for array subscript
if (cmpx(p2,t[i])) p2=t[i];
^
0_0_30270117_20862.cpp:82:28: error: invalid types 'int[int]' for array subscript
if (cmpx(p2,t[i])) p2=t[i];
^
0_0_30270117_20862.cpp: In function 'bool getkb(P, P, P, P, D&, D&, D&, D&)':
0_0_30270117_20862.cpp:87:59: error: expected '}' at end of input
bool getkb(P A, P B, P N, P M, D &k1, D &b1, D &k2, D &b2){
^
|