0_0_6251583_15436.cpp:41: error: redefinition of `struct monster'
0_0_6251583_15436.cpp:4: error: previous definition of `struct monster'
0_0_6251583_15436.cpp:45: error: invalid type in declaration before ';' token
0_0_6251583_15436.cpp:45: error: conflicting declaration 'int mon[10000]'
0_0_6251583_15436.cpp:8: error: 'mon' has a previous declaration as `monster mon[10000]'
0_0_6251583_15436.cpp:45: error: type mismatch with previous external decl of `int mon[10000]'
0_0_6251583_15436.cpp:8: error: previous external decl of `monster mon[10000]'
0_0_6251583_15436.cpp:45: error: declaration of `int mon[10000]'
0_0_6251583_15436.cpp:8: error: conflicts with previous declaration `monster mon[10000]'
0_0_6251583_15436.cpp: In function `int cmp(const void*, const void*)':
0_0_6251583_15436.cpp:46: error: redefinition of `int cmp(const void*, const void*)'
0_0_6251583_15436.cpp:9: error: `int cmp(const void*, const void*)' previously defined here
0_0_6251583_15436.cpp: In function `int main()':
0_0_6251583_15436.cpp:51: error: redefinition of `int main()'
0_0_6251583_15436.cpp:14: error: `int main()' previously defined here
|