0_0_21839424_22424.cpp:7:8: error: redeclaration of 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:7:2: note: previous declaration 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:7:14: error: redeclaration of 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:7:2: note: previous declaration 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:7:20: error: redeclaration of 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:7:2: note: previous declaration 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:8:2: error: redeclaration of 'int& team::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:7:2: note: previous declaration 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:8:8: error: redeclaration of 'int& team::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:7:2: note: previous declaration 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:8:14: error: redeclaration of 'int& team::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:7:2: note: previous declaration 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:8:20: error: redeclaration of 'int& team::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:7:2: note: previous declaration 'int& team::nbsp'
string name;
^
0_0_21839424_22424.cpp:12:8: error: redeclaration of 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:12:14: error: redeclaration of 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:12:20: error: redeclaration of 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:13:2: error: redeclaration of 'int& school::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:13:8: error: redeclaration of 'int& school::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:13:14: error: redeclaration of 'int& school::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:13:20: error: redeclaration of 'int& school::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:14:2: error: redeclaration of 'int& school::nbsp'
team tm[101];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:14:8: error: redeclaration of 'int& school::nbsp'
team tm[101];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:14:14: error: redeclaration of 'int& school::nbsp'
team tm[101];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:14:20: error: redeclaration of 'int& school::nbsp'
team tm[101];
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:15:2: error: redeclaration of 'int& school::nbsp'
int nowteamlen;
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:15:8: error: redeclaration of 'int& school::nbsp'
int nowteamlen;
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:15:14: error: redeclaration of 'int& school::nbsp'
int nowteamlen;
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:15:20: error: redeclaration of 'int& school::nbsp'
int nowteamlen;
^
0_0_21839424_22424.cpp:12:2: note: previous declaration 'int& school::nbsp'
string name;
^
0_0_21839424_22424.cpp:19:8: error: redeclaration of 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:19:2: note: previous declaration 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:19:14: error: redeclaration of 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:19:2: note: previous declaration 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:19:20: error: redeclaration of 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:19:2: note: previous declaration 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:20:2: error: redeclaration of 'int& place::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:19:2: note: previous declaration 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:20:8: error: redeclaration of 'int& place::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:19:2: note: previous declaration 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:20:14: error: redeclaration of 'int& place::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:19:2: note: previous declaration 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:20:20: error: redeclaration of 'int& place::nbsp'
int price[4];
^
0_0_21839424_22424.cpp:19:2: note: previous declaration 'int& place::nbsp'
string name;
^
0_0_21839424_22424.cpp:22:15: error: use of deleted function 'school::school()'
school scl[201];
^
0_0_21839424_22424.cpp:10:16: note: 'school::school()' is implicitly deleted because the default definition would be ill-formed:
typedef struct school
^
0_0_21839424_22424.cpp:10:16: error: uninitialized reference member in 'struct school'
0_0_21839424_22424.cpp:12:2: note: 'int& school::nbsp' should be initialized
string name;
^
0_0_21839424_22424.cpp:10:16: error: use of deleted function 'team::team()'
typedef struct school
^
0_0_21839424_22424.cpp:5:16: note: 'team::team()' is implicitly deleted because the default definition would be ill-formed:
typedef struct team
^
0_0_21839424_22424.cpp:5:16: error: uninitialized reference member in 'struct team'
0_0_21839424_22424.cpp:7:2: note: 'int& team::nbsp' should be initialized
string name;
^
0_0_21839424_22424.cpp:23:14: error: use of deleted function 'place::place()'
place plc[201];
^
0_0_21839424_22424.cpp:17:16: note: 'place::place()' is implicitly deleted because the default definition would be ill-formed:
typedef struct place
^
0_0_21839424_22424.cpp:17:16: error: uninitialized reference member in 'struct place'
0_0_21839424_22424.cpp:19:2: note: 'int& place::nbsp' should be initialized
string name;
^
0_0_21839424_22424.cpp: In function 'int tellprice(std::string)':
0_0_21839424_22424.cpp:26:2: error: 'nbsp' was not declared in this scope
if(price=="gold")
^
0_0_21839424_22424.cpp: In function 'int cmpbyscl(const void*, const void*)':
0_0_21839424_22424.cpp:36:2: error: 'nbsp' was not declared in this scope
school *x=(school *)a;
^
0_0_21839424_22424.cpp: In function 'int cmpbytm(const void*, const void*)':
0_0_21839424_22424.cpp:58:2: error: 'nbsp' was not declared in this scope
team *x=(team *)a;
^
0_0_21839424_22424.cpp: In function 'int cmpbyplc(const void*, const void*)':
0_0_21839424_22424.cpp:80:2: error: 'nbsp' was not declared in this scope
place *x=(place *)a;
^
0_0_21839424_22424.cpp: In function 'int main()':
0_0_21839424_22424.cpp:90:2: error: 'nbsp' was not
|