squarerect.cpp: In function 'bool am_i_square(int, int)':
squarerect.cpp:5:16: error: 'inside_shape' was not declared in this scope
5 | if(inside_shape(i,j)){
| ^~~~~~~~~~~~
squarerect.cpp:12:12: error: 'inside_shape' was not declared in this scope
12 | if(inside_shape(m,y0)) h=m;
| ^~~~~~~~~~~~
squarerect.cpp:19:12: error: 'inside_shape' was not declared in this scope
19 | if(inside_shape(m,y0)) l=m;
| ^~~~~~~~~~~~
squarerect.cpp:26:12: error: 'inside_shape' was not declared in this scope
26 | if(inside_shape(x0,m)) h=m;
| ^~~~~~~~~~~~
squarerect.cpp:33:12: error: 'inside_shape' was not declared in this scope
33 | if(inside_shape(x0,m)) l=m;
| ^~~~~~~~~~~~