0_0_16982452_11097.cpp:26:21: error: stray '#' in program
Point operator + (Point &t)
^
0_0_16982452_11097.cpp:28:24: error: stray '#' in program
return Point(x+t.x, y+t.y, z+t.z);
^
0_0_16982452_11097.cpp:28:35: error: stray '#' in program
return Point(x+t.x, y+t.y, z+t.z);
^
0_0_16982452_11097.cpp:28:46: error: stray '#' in program
return Point(x+t.x, y+t.y, z+t.z);
^
0_0_16982452_11097.cpp:74:23: error: stray '#' in program
return u.x * v.x + u.y * v.y + u.z * v.z;
^
0_0_16982452_11097.cpp:74:39: error: stray '#' in program
return u.x * v.x + u.y * v.y + u.z * v.z;
^
0_0_16982452_11097.cpp:90:42: error: stray '#' in program
return sqrt((p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y) + (p1.z-p2.z)*(p1.z-p2.z));
^
0_0_16982452_11097.cpp:90:72: error: stray '#' in program
return sqrt((p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y) + (p1.z-p2.z)*(p1.z-p2.z));
^
0_0_16982452_11097.cpp:96:26: error: stray '#' in program
return sqrt(p.x*p.x + p.y*p.y + p.z*p.z);
^
0_0_16982452_11097.cpp:96:40: error: stray '#' in program
return sqrt(p.x*p.x + p.y*p.y + p.z*p.z);
^
0_0_16982452_11097.cpp:116:37: error: stray '#' in program
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:61: error: stray '#' in program
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:107: error: stray '#' in program
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:131: error: stray '#' in program
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:117:20: error: stray '#' in program
ret.x = l.a.x + ( l.b.x - l.a.x ) * t;
^
0_0_16982452_11097.cpp:118:20: error: stray '#' in program
ret.y = l.a.y + ( l.b.y - l.a.y ) * t;
^
0_0_16982452_11097.cpp:119:20: error: stray '#' in program
ret.z = l.a.z + ( l.b.z - l.a.z ) * t;
^
0_0_16982452_11097.cpp:130:40: error: stray '#' in program
Plane alpha = Plane(A.a, A.b, A.a + normal);
^
0_0_16982452_11097.cpp:131:40: error: stray '#' in program
Plane beta = Plane(B.a, B.b, B.a + normal);
^
0_0_16982452_11097.cpp:26:20: error: declaration of 'operator&' as non-function
Point operator + (Point &t)
^
0_0_16982452_11097.cpp:26:20: error: expected ';' at end of member declaration
0_0_16982452_11097.cpp:26:22: error: expected unqualified-id before numeric constant
Point operator + (Point &t)
^
0_0_16982452_11097.cpp:26:33: error: expected ')' before '&' token
Point operator + (Point &t)
^
0_0_16982452_11097.cpp: In function 'double multi(Point, Point)':
0_0_16982452_11097.cpp:74:24: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return u.x * v.x + u.y * v.y + u.z * v.z;
^
0_0_16982452_11097.cpp:74:40: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return u.x * v.x + u.y * v.y + u.z * v.z;
^
0_0_16982452_11097.cpp: In function 'double dist(Point, Point)':
0_0_16982452_11097.cpp:90:43: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return sqrt((p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y) + (p1.z-p2.z)*(p1.z-p2.z));
^
0_0_16982452_11097.cpp:90:73: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return sqrt((p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y) + (p1.z-p2.z)*(p1.z-p2.z));
^
0_0_16982452_11097.cpp:90:100: error: expected ';' before ')' token
return sqrt((p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y) + (p1.z-p2.z)*(p1.z-p2.z));
^
0_0_16982452_11097.cpp: In function 'double VectorLength(Point)':
0_0_16982452_11097.cpp:96:27: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return sqrt(p.x*p.x + p.y*p.y + p.z*p.z);
^
0_0_16982452_11097.cpp:96:41: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return sqrt(p.x*p.x + p.y*p.y + p.z*p.z);
^
0_0_16982452_11097.cpp:96:52: error: expected ';' before ')' token
return sqrt(p.x*p.x + p.y*p.y + p.z*p.z);
^
0_0_16982452_11097.cpp: In function 'Point Intersection(Line, Plane)':
0_0_16982452_11097.cpp:116:38: error: invalid operands of types 'double' and 'int' to binary 'operator&'
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:40: error: expected ')' before ';' token
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:62: error: invalid operands of types 'double' and 'int' to binary 'operator&'
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:84: error: expected ';' before ')' token
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:132: error: invalid operands of types 'double' and 'int' to binary 'operator&'
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:116:154: error: expected ';' before ')' token
double t = (ret.x*(s.a.x-l.a.x)+ret.y*(s.a.y-l.a.y)+ret.z*(s.a.z-l.a.z))/(ret.x*(l.b.x-l.a.x)+ret.y*(l.b.y-l.a.y)+ret.z*(l.b.z-l.a.z));
^
0_0_16982452_11097.cpp:117:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
ret.x = l.a.x + ( l.b.x - l.a.x ) * t;
^
0_0_16982452_11097.cpp:118:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
ret.y = l.a.y + ( l.b.y - l.a.y ) * t;
^
0_0_16982452_11097.cpp:119:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
ret.z = l.a.z + ( l.b.z - l.a.z ) * t;
^
0_0_16982452_11097.cpp: In function 'void work(Line, Line)':
0_0_16982452_11097.cpp:130:39: error: no match for 'operator&' (operand types are 'Point' and 'int')
Plane alpha = Plane(A.a, A.b, A.a + normal);
^
0_0_16982452_11097.cpp:130:39: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_16982452_11097.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:75:3: note: constexpr std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)
operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:75:3: note: no known conversion for argument 1 from 'Point' to 'std::_Ios_Fmtflags'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:115:3: note: constexpr std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Io
|