0_0_32021377_11695.cpp: In function 'int main()':
0_0_32021377_11695.cpp:6:1: error: 'S' was not declared in this scope
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:14: error: 'x0' was not declared in this scope
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:17: error: 'y1' was not declared in this scope
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:20: error: 'x1' was not declared in this scope
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:23: error: 'y0' was not declared in this scope
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:33: error: 'y2' was not declared in this scope
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:36: error: 'x2' was not declared in this scope
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:45: error: expected primary-expression before '...' token
S = 0.5 * ( (x0*y1-x1*y0) + (x1*y2-x2*y1) + ... + (xn*y0-x0*yn));
^
0_0_32021377_11695.cpp:6:45: error: expected ')' before '...' token
|