0_0_29470872_8095.cpp:4:22: error: expected ',' or ';' before 'e'
const double eps = 1 e - 8 ;
^
0_0_29470872_8095.cpp: In function 'bool PointOnSegment(point, point, point)':
0_0_29470872_8095.cpp:23:41: error: expected primary-expression before '=' token
return dcmp ( det ( p - s , t - s ) ) = = 0 && dcmp ( dot ( p - s , p - t ) ) <= 0 ;
^
0_0_29470872_8095.cpp: In member function 'int Polygon::Point_in(point)':
0_0_29470872_8095.cpp:32:33: error: expected primary-expression before ')' token
for ( int i = 0 ; i < n ; i + + ) {
^
0_0_29470872_8095.cpp:37:43: error: expected primary-expression before ';' token
if ( k > 0 && d1 <= 0 && d2 > 0 ) num + + ;
^
0_0_29470872_8095.cpp: In function 'int main()':
0_0_29470872_8095.cpp:48:10: error: expected primary-expression before '=' token
if ( v = = 0 && b = = 0 && g = = 0 ) break ;
^
0_0_29470872_8095.cpp:48:21: error: expected primary-expression before '=' token
if ( v = = 0 && b = = 0 && g = = 0 ) break ;
^
0_0_29470872_8095.cpp:48:32: error: expected primary-expression before '=' token
if ( v = = 0 && b = = 0 && g = = 0 ) break ;
^
0_0_29470872_8095.cpp:52:41: error: expected primary-expression before ')' token
for ( int i = 0 ; i < plane . n ; i + + ) {
^
0_0_29470872_8095.cpp:62:33: error: expected primary-expression before '=' token
for ( t = 0.0 ; t <= maxt ; t + = 0.001 ) {
^
0_0_29470872_8095.cpp:66:32: error: expected primary-expression before '=' token
if ( plane . Point_in ( op ) = = 1 ) {
^
|