Main.cc: In function 'int main()': Main.cc:9:19: error: expected primary-expression before '>' token if(abs(x1-x2))>abs(y1-y2)) ^