0_0_39671776_23061.cpp:62:2: error: expected ';' after class definition
62 | }
| ^
| ;
0_0_39671776_23061.cpp: In member function 'bool Quene::full()':
0_0_39671776_23061.cpp:39:21: error: 'n' was not declared in this scope; did you mean 'in'?
39 | if ((end + 1) % n == begin) return true;
| ^
| in
0_0_39671776_23061.cpp: In member function 'void Quene::in(int)':
0_0_39671776_23061.cpp:43:13: error: cannot convert 'Quene::full' from type 'bool (Quene::)()' to type 'bool'
43 | if (full) return;
| ^
0_0_39671776_23061.cpp: In member function 'int Quene::out()':
0_0_39671776_23061.cpp:53:16: error: 'n' was not declared in this scope; did you mean 'in'?
53 | begin %= n;
| ^
| in
0_0_39671776_23061.cpp: In function 'int main()':
0_0_39671776_23061.cpp:83:22: error: cannot convert 'Stack::full' from type 'bool (Stack::)()' to type 'bool'
83 | if (st.full) cout << "Full" << endl;
| ^
0_0_39671776_23061.cpp:99:22: error: cannot convert 'Quene::full' from type 'bool (Quene::)()' to type 'bool'
99 | if (qu.full) cout << "FUll" << endl;
| ^
|