Main.cc: In function ‘int main()’: Main.cc:8:11: error: ‘sqrt’ was not declared in this scope w=1.0*sqrt(1.0*x); ^~~~ Main.cc:8:11: note: suggested alternative: ‘qsort’ w=1.0*sqrt(1.0*x); ^~~~ qsort