0_0_39146520_2749.c:5:15: error: expected ':', ',', ';', '}' or '__attribute__' before '=' token
5 | int t = 0;
| ^
0_0_39146520_2749.c: In function 'main':
0_0_39146520_2749.c:24:24: error: 'true' undeclared (first use in this function)
24 | while (true) {
| ^~~~
0_0_39146520_2749.c:2:1: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
1 | #include<stdio.h>
+++ |+#include <stdbool.h>
2 |
0_0_39146520_2749.c:24:24: note: each undeclared identifier is reported only once for each function it appears in
24 | while (true) {
| ^~~~
0_0_39146520_2749.c:27:43: error: 'struct mystack' has no member named 'empty'
27 | while (!ms.empty()) {
| ^
0_0_39146520_2749.c:28:56: error: 'struct mystack' has no member named 'top'
28 | printf("%c", ms.top());
| ^
0_0_39146520_2749.c:29:43: error: 'struct mystack' has no member named 'pop'
29 | ms.pop();
| ^
0_0_39146520_2749.c:35:35: error: 'struct mystack' has no member named 'push'
35 | ms.push(ch);
| ^
|