Main.cc: In function ‘int main()’:
Main.cc:5:11: warning: right operand of comma operator has no effect [-Wunused-value]
cin>>a,b,c,d;
^
Main.cc:5:13: warning: right operand of comma operator has no effect [-Wunused-value]
cin>>a,b,c,d;
^
Main.cc:5:14: warning: right operand of comma operator has no effect [-Wunused-value]
cin>>a,b,c,d;
^
Main.cc:6:33: error: expected ‘)’ before ‘;’ token
m= sgit((a-b)*(a-b)+(c-d)*(c-d);
^