Main.cc: In function ‘int main()’: Main.cc:7:2: error: ‘sgit’ was not declared in this scope sgit((a-b)*(a-b)+(c-d)*(c-d))=o; ^~~~ Main.cc:7:2: note: suggested alternative: ‘exit’ sgit((a-b)*(a-b)+(c-d)*(c-d))=o; ^~~~ exit