0_0_13813178_1261.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813178_1261.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813178_1261.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813178_1261.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813178_1261.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813178_1261.cpp: In member function 'void Complex::Read()':
0_0_13813178_1261.cpp:16:38: error: 'scanf' was not declared in this scope
scanf("%lf%lf%lf",&v1,&v2,&v3);
^
0_0_13813178_1261.cpp: At global scope:
0_0_13813178_1261.cpp:40:9: error: expected type-specifier before 'return'
return alpha
^
0_0_13813178_1261.cpp:35:1: error: new types may not be defined in a return type
struct Line{
^
0_0_13813178_1261.cpp:35:1: note: (perhaps a semicolon is missing after the definition of 'Line')
0_0_13813178_1261.cpp: In function 'Line Line(Point, Point)':
0_0_13813178_1261.cpp:42:28: error: only constructors take member initializers
Line(Point _,Point __):p(_),v(__) {
^
0_0_13813178_1261.cpp:43:9: error: 'alpha' was not declared in this scope
alpha = atan2(v.y,v.x);
^
0_0_13813178_1261.cpp:43:23: error: 'v' was not declared in this scope
alpha = atan2(v.y,v.x);
^
0_0_13813178_1261.cpp:43:30: error: 'atan2' was not declared in this scope
alpha = atan2(v.y,v.x);
^
0_0_13813178_1261.cpp: At global scope:
0_0_13813178_1261.cpp:46:1: error: expected declaration before '}' token
}line[MAX],q[MAX];
^
|