0_0_26382205_9180.cpp:66:8: error: redefinition of 'struct point'
struct point
^
0_0_26382205_9180.cpp:7:8: error: previous definition of 'struct point'
struct point
^
0_0_26382205_9180.cpp:69:7: error: invalid type in declaration before ';' token
}p[35];
^
0_0_26382205_9180.cpp:69:7: error: conflicting declaration 'int p [35]'
0_0_26382205_9180.cpp:10:2: note: previous declaration as 'point p [35]'
}p[35];
^
0_0_26382205_9180.cpp: In function 'bool cmp(point, point)':
0_0_26382205_9180.cpp:70:6: error: redefinition of 'bool cmp(point, point)'
bool cmp(point a, point b)
^
0_0_26382205_9180.cpp:11:6: note: 'bool cmp(point, point)' previously defined here
bool cmp(point a, point b)
^
0_0_26382205_9180.cpp: In function 'int main()':
0_0_26382205_9180.cpp:74:5: error: redefinition of 'int main()'
int main()
^
0_0_26382205_9180.cpp:15:5: note: 'int main()' previously defined here
int main()
^
0_0_26382205_9180.cpp: At global scope:
0_0_26382205_9180.cpp:124:8: error: redefinition of 'struct point'
struct point
^
0_0_26382205_9180.cpp:7:8: error: previous definition of 'struct point'
struct point
^
0_0_26382205_9180.cpp:127:7: error: invalid type in declaration before ';' token
}p[35];
^
0_0_26382205_9180.cpp:127:7: error: conflicting declaration 'int p [35]'
0_0_26382205_9180.cpp:10:2: note: previous declaration as 'point p [35]'
}p[35];
^
0_0_26382205_9180.cpp: In function 'bool cmp(point, point)':
0_0_26382205_9180.cpp:128:6: error: redefinition of 'bool cmp(point, point)'
bool cmp(point a, point b)
^
0_0_26382205_9180.cpp:11:6: note: 'bool cmp(point, point)' previously defined here
bool cmp(point a, point b)
^
0_0_26382205_9180.cpp: In function 'int main()':
0_0_26382205_9180.cpp:132:5: error: redefinition of 'int main()'
int main()
^
0_0_26382205_9180.cpp:15:5: note: 'int main()' previously defined here
int main()
^
|