0_0_13976619_17323.cpp: In function 'int main()': 0_0_13976619_17323.cpp:31:79: error: expected ',' or ';' before ')' token double temp = fabs(double(num[i].y-num[i-1].y))/double(num[i].x-num[i-1].x)); ^