prog.cpp: In function ‘int& mask(int, int)’:
prog.cpp:3:41: error: ‘MaskA’ was not declared in this scope
inline int& mask(int x, int y) { return MaskA[y][x]; }
^~~~~
prog.cpp:3:41: note: suggested alternative: ‘mask’
inline int& mask(int x, int y) { return MaskA[y][x]; }
^~~~~
mask
prog.cpp: In function ‘int& label(int, int)’:
prog.cpp:4:42: error: ‘LabelA’ was not declared in this scope
inline int& label(int x, int y) { return LabelA[y][x]; }
^~~~~~
prog.cpp:4:42: note: suggested alternative: ‘label’
inline int& label(int x, int y) { return LabelA[y][x]; }
^~~~~~
label
prog.cpp: At global scope:
prog.cpp:6:11: error: ‘::main’ must return ‘int’
void main()
^
prog.cpp: In function ‘int main()’:
prog.cpp:11:5: error: ‘init’ was not declared in this scope
init(total);
^~~~
prog.cpp:11:5: note: suggested alternative: ‘int’
init(total);
^~~~
int