0_0_19592385_8864.c: In function 'getNum':
0_0_19592385_8864.c:8:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=7;i>-1;i--){
^
0_0_19592385_8864.c:8:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_19592385_8864.c: In function 'printBin':
0_0_19592385_8864.c:27:5: error: expected expression before '/' token
// 15 1111
^
0_0_19592385_8864.c: In function 'main':
0_0_19592385_8864.c:39:5: error: expected expression before '/' token
// insert code here...
^
0_0_19592385_8864.c:44:25: error: 'a' undeclared (first use in this function)
while(scanf("%ld", &a)!=EOF){
^
0_0_19592385_8864.c:44:25: note: each undeclared identifier is reported only once for each function it appears in
0_0_19592385_8864.c:46:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<32;i++)
^
0_0_19592385_8864.c:54:46: error: expected expression before '/' token
}else if(mem[ct]/100000==10){ /////
^
|