0_0_29453258_28902.c:20:1: error: unknown type name 'bool'
bool check(int m) {
^
0_0_29453258_28902.c: In function 'check':
0_0_29453258_28902.c:26:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 1; i < house; i++) {
^
0_0_29453258_28902.c:26:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_29453258_28902.c:36:36: error: 'false' undeclared (first use in this function)
if(cnt > wifi) return false;
^
0_0_29453258_28902.c:36:36: note: each undeclared identifier is reported only once for each function it appears in
0_0_29453258_28902.c:42:12: error: 'true' undeclared (first use in this function)
return true;
^
0_0_29453258_28902.c: In function 'main':
0_0_29453258_28902.c:56:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < house; i++)
^
|