0_0_38304537_25661.c: In function 'main':
0_0_38304537_25661.c:30:9: error: expected expression before '/' token
//???
^
0_0_38304537_25661.c:34:17: error: 'else' without a previous 'if'
else Mymap[i][j] = STOP;
^
0_0_38304537_25661.c:34:28: error: 'i' undeclared (first use in this function)
else Mymap[i][j] = STOP;
^
0_0_38304537_25661.c:34:28: note: each undeclared identifier is reported only once for each function it appears in
0_0_38304537_25661.c:34:31: error: 'j' undeclared (first use in this function)
else Mymap[i][j] = STOP;
^
0_0_38304537_25661.c:35:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= 1000; i++)
^
0_0_38304537_25661.c:35:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_38304537_25661.c:39:18: error: redefinition of 'i'
for (int i = 0; i < How_many_ways; i++)
^
0_0_38304537_25661.c:35:18: note: previous definition of 'i' was here
for (int i = 0; i <= 1000; i++)
^
0_0_38304537_25661.c:39:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < How_many_ways; i++)
^
0_0_38304537_25661.c:51:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i <= 1000; i++)
^
0_0_38304537_25661.c: In function 'Dijkstra':
0_0_38304537_25661.c:71:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= How_many_cities; i++)
^
0_0_38304537_25661.c:73:14: error: redefinition of 'i'
for (int i = 1; i <= How_many_cities - 1; i++)
^
0_0_38304537_25661.c:71:14: note: previous definition of 'i' was here
for (int i = 1; i <= How_many_cities; i++)
^
0_0_38304537_25661.c:73:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= How_many_cities - 1; i++)
^
0_0_38304537_25661.c:76:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 1; j <= How_many_cities; j++)
^
0_0_38304537_25661.c:80:18: error: redefinition of 'j'
for (int j = 1; j <= How_many_cities; j++)
^
0_0_38304537_25661.c:76:18: note: previous definition of 'j' was here
for (int j = 1; j <= How_many_cities; j++)
^
0_0_38304537_25661.c:80:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 1; j <= How_many_cities; j++)
^
|