0_0_29484737_19709.cpp:1:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_29484737_19709.cpp:10:8: error: redeclaration of 'int& node::nbsp'
int num;
^
0_0_29484737_19709.cpp:10:2: note: previous declaration 'int& node::nbsp'
int num;
^
0_0_29484737_19709.cpp:10:14: error: redeclaration of 'int& node::nbsp'
int num;
^
0_0_29484737_19709.cpp:10:2: note: previous declaration 'int& node::nbsp'
int num;
^
0_0_29484737_19709.cpp:11:2: error: redeclaration of 'int& node::nbsp'
double s;
^
0_0_29484737_19709.cpp:10:2: note: previous declaration 'int& node::nbsp'
int num;
^
0_0_29484737_19709.cpp:11:8: error: redeclaration of 'int& node::nbsp'
double s;
^
0_0_29484737_19709.cpp:10:2: note: previous declaration 'int& node::nbsp'
int num;
^
0_0_29484737_19709.cpp:11:14: error: redeclaration of 'int& node::nbsp'
double s;
^
0_0_29484737_19709.cpp:10:2: note: previous declaration 'int& node::nbsp'
int num;
^
0_0_29484737_19709.cpp:12:10: error: use of deleted function 'node::node()'
} a[10000];
^
0_0_29484737_19709.cpp:8:8: note: 'node::node()' is implicitly deleted because the default definition would be ill-formed:
struct node
^
0_0_29484737_19709.cpp:8:8: error: uninitialized reference member in 'struct node'
0_0_29484737_19709.cpp:10:2: note: 'int& node::nbsp' should be initialized
int num;
^
0_0_29484737_19709.cpp: In function 'int main()':
0_0_29484737_19709.cpp:15:2: error: 'nbsp' was not declared in this scope
int i,n,id;
^
|