foo.cc: In constructor ‘ComplexArray::ComplexArray()’:
foo.cc:49:26: warning: unused variable ‘c’ [-Wunused-variable]
49 | Complex* c = new Complex[100];
| ^
foo.cc: In constructor ‘ComplexArray::ComplexArray(int)’:
foo.cc:54:26: warning: unused variable ‘c’ [-Wunused-variable]
54 | Complex* c = new Complex[100];
| ^
foo.cc: In member function ‘void ComplexArray::Sort()’:
foo.cc:69:42: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
69 | if (c[j] < c[j + 1] == false)
| ~~~~~^~~~~~~~~~
foo.cc: In member function ‘bool Complex::operator<(Complex)’:
foo.cc:24:9: warning: control reaches end of non-void function [-Wreturn-type]
24 | }
| ^