encoder.cpp: In function 'void encode(int, int, int, int*, int*)':
encoder.cpp:47:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int k = 0 ; k < s.size() ; k++){
| ~~^~~~~~~~~~
encoder.cpp:48:9: error: 'encode_bit' was not declared in this scope; did you mean 'encode'?
48 | encode_bit(s[k] - '0');
| ^~~~~~~~~~
| encode
decoder.cpp: In function 'void decode(int, int)':
decoder.cpp:9:27: error: 'decode_bit' was not declared in this scope; did you mean 'decode'?
9 | rechner += k *decode_bit();
| ^~~~~~~~~~
| decode
decoder.cpp:11:10: error: 'hops' was not declared in this scope
11 | hops(i , j , rechner);
| ^~~~