0_0_30552104_13030.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
include <stdio.h>
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:282:0,
from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10,
from GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:9,
from 0_0_30552104_13030.c:2:
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h:29:11: error: unknown type name '__gnuc_va_list'
typedef __gnuc_va_list va_list;
^
0_0_30552104_13030.c: In function 'main':
0_0_30552104_13030.c:18:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int Z=1;Z<=turns;Z++){
^
0_0_30552104_13030.c:18:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_30552104_13030.c:44:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=cnt1,j=0;i>=0;i--,j++){
^
0_0_30552104_13030.c:47:10: error: redefinition of 'i'
for(int i=cnt2,j=0;i>=0;i--,j++){
^
0_0_30552104_13030.c:44:10: note: previous definition of 'i' was here
for(int i=cnt1,j=0;i>=0;i--,j++){
^
0_0_30552104_13030.c:47:17: error: redefinition of 'j'
for(int i=cnt2,j=0;i>=0;i--,j++){
^
0_0_30552104_13030.c:44:17: note: previous definition of 'j' was here
for(int i=cnt1,j=0;i>=0;i--,j++){
^
0_0_30552104_13030.c:47:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=cnt2,j=0;i>=0;i--,j++){
^
0_0_30552104_13030.c:66:8: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int u=m;u>=0;u--){
^
|