encoder.cpp: In function 'void qu(int)':
encoder.cpp:6:4: error: 'encode_bit' was not declared in this scope
6 | encode_bit(1);
| ^~~~~~~~~~
encoder.cpp:8:4: error: 'encode_bit' was not declared in this scope
8 | encode_bit(0);
| ^~~~~~~~~~
encoder.cpp: In function 'void encode(int, int, int, int*, int*)':
encoder.cpp:19:3: error: 'encode_bit' was not declared in this scope; did you mean 'encode'?
19 | encode_bit(1);
| ^~~~~~~~~~
| encode
decoder.cpp: In function 'int q()':
decoder.cpp:35:7: error: 'decode_bit' was not declared in this scope
35 | if (decode_bit())
| ^~~~~~~~~~
decoder.cpp: In function 'void decode(int, int)':
decoder.cpp:57:4: error: 'hops' was not declared in this scope
57 | hops(i,j,dis[j]);
| ^~~~