encoder.cpp: In function 'void encode(int, int*)':
encoder.cpp:11:7: warning: unused variable 'number' [-Wunused-variable]
11 | int number,num;
| ^~~~~~
encoder.cpp:11:14: warning: unused variable 'num' [-Wunused-variable]
11 | int number,num;
| ^~~
decoder.cpp: In function 'void decode(int, int, int*)':
decoder.cpp:7:10: warning: unused variable 'b' [-Wunused-variable]
7 | int i, b,n,digit,j,num;
| ^
decoder.cpp:7:12: warning: unused variable 'n' [-Wunused-variable]
7 | int i, b,n,digit,j,num;
| ^
decoder.cpp:7:14: warning: unused variable 'digit' [-Wunused-variable]
7 | int i, b,n,digit,j,num;
| ^~~~~
decoder.cpp:7:20: warning: unused variable 'j' [-Wunused-variable]
7 | int i, b,n,digit,j,num;
| ^
decoder.cpp:7:22: warning: unused variable 'num' [-Wunused-variable]
7 | int i, b,n,digit,j,num;
| ^~~
decoder.cpp:11:8: warning: unused variable 'd' [-Wunused-variable]
11 | char d;
| ^