registers.cpp:2:20: error: expected ';' before ',' token
2 | using namespace std,
| ^
| ;
registers.cpp:2:20: error: expected unqualified-id before ',' token
registers.cpp:3:1: error: expected unqualified-id before 'int'
3 | int b=2000;
| ^~~
registers.cpp: In function 'void construct_instructions(int, int, int, int)':
registers.cpp:6:4: error: 'append_move' was not declared in this scope
6 | append_move(1,0);
| ^~~~~~~~~~~
registers.cpp:7:4: error: 'append_right' was not declared in this scope
7 | append_right(1,1,k);
| ^~~~~~~~~~~~
registers.cpp:9:4: error: 'append_left' was not declared in this scope
9 | append_left(2,2,k);
| ^~~~~~~~~~~
registers.cpp:10:4: error: 'append_and' was not declared in this scope
10 | append_and(3,1,2);
| ^~~~~~~~~~