0_0_22023629_22190.cpp:3:30: error: array bound is not an integer constant before ']' token
int road(int i,int j,char a[w][h+1]){
^
0_0_22023629_22190.cpp:3:35: error: array bound is not an integer constant before ']' token
int road(int i,int j,char a[w][h+1]){
^
0_0_22023629_22190.cpp: In function 'int road(...)':
0_0_22023629_22190.cpp:5:5: error: 'a' was not declared in this scope
if(a[i][j]=='@'){
^
0_0_22023629_22190.cpp:5:7: error: 'i' was not declared in this scope
if(a[i][j]=='@'){
^
0_0_22023629_22190.cpp:5:10: error: 'j' was not declared in this scope
if(a[i][j]=='@'){
^
|