cave.cpp: In function 'void exploreCave(int)':
cave.cpp:17:39: error: cannot convert 'bool*' to 'int*'
17 | int g= tryCombination(col);
| ^~~
| |
| bool*
In file included from cave.cpp:1:
cave.h:8:24: note: initializing argument 1 of 'int tryCombination(int*)'
8 | int tryCombination(int S[]);
| ~~~~^~~
cave.cpp:20:38: error: cannot convert 'bool*' to 'int*'
20 | g=tryCombination(col);
| ^~~
| |
| bool*
cave.h:8:24: note: initializing argument 1 of 'int tryCombination(int*)'
8 | int tryCombination(int S[]);
| ~~~~^~~
cave.cpp:23:39: error: cannot convert 'bool*' to 'int*'
23 | int h= tryCombination(col);
| ^~~
| |
| bool*
cave.h:8:24: note: initializing argument 1 of 'int tryCombination(int*)'
8 | int tryCombination(int S[]);
| ~~~~^~~
cave.cpp:47:12: error: cannot convert 'bool*' to 'int*'
47 | answer(col,con);
| ^~~
| |
| bool*
cave.h:9:17: note: initializing argument 1 of 'void answer(int*, int*)'
9 | void answer(int S[], int D[]);
| ~~~~^~~