0_0_15514279_24736.cpp: In function 'bool on_megment(point, point, point)':
0_0_15514279_24736.cpp:17:31: error: 'returntrue' was not declared in this scope
if( p.x>=min&&p.x<=max ) returntrue;
^
0_0_15514279_24736.cpp:18:4: error: 'elsereturnfalse' was not declared in this scope
elsereturnfalse;
^
0_0_15514279_24736.cpp: In function 'bool megment(point, point, point, point)':
0_0_15514279_24736.cpp:26:27: error: 'returntrue' was not declared in this scope
if( d1*d2<0&&d3*d4<0 )returntrue;//如果都异侧就一定相交
^
0_0_15514279_24736.cpp:27:38: error: 'returntrue' was not declared in this scope
if( d1==0&&on_megment( p1,p2,q1 ) ) returntrue;//d为0是平行的情况,这是我们就要考虑是不是端点在直线上
^
0_0_15514279_24736.cpp:28:38: error: 'returntrue' was not declared in this scope
if( d2==0&&on_megment( p1,p2,q2 ) ) returntrue;
^
0_0_15514279_24736.cpp:29:42: error: 'returntrue' was not declared in this scope
if( d3==0&&on_megment( q1,q2,p1 ) ) returntrue;
^
0_0_15514279_24736.cpp:30:42: error: 'returntrue' was not declared in this scope
if( d4==0&&on_megment( q1,q2,p2 ) ) returntrue;
^
0_0_15514279_24736.cpp:31:5: error: 'returnfalse' was not declared in this scope
returnfalse;
^
0_0_15514279_24736.cpp: In function 'int main()':
0_0_15514279_24736.cpp:65:5: error: 'return0' was not declared in this scope
return0;
^
|