robot.cpp: In function 'void program_pulibot()':
robot.cpp:28:51: error: expected ')' before '}' token
28 | set_instruction({0,i,j,0,k}, 1,'E'});
| ~ ^
| )
robot.cpp: At global scope:
robot.cpp:28:52: error: expected unqualified-id before ')' token
28 | set_instruction({0,i,j,0,k}, 1,'E'});
| ^
robot.cpp:29:5: error: expected unqualified-id before 'for'
29 | for(int i = -2; i <= 1; i++ )
| ^~~
robot.cpp:29:21: error: 'i' does not name a type; did you mean 'ii'?
29 | for(int i = -2; i <= 1; i++ )
| ^
| ii
robot.cpp:29:29: error: 'i' does not name a type; did you mean 'ii'?
29 | for(int i = -2; i <= 1; i++ )
| ^
| ii
robot.cpp:30:25: error: 'j' does not name a type; did you mean 'jn'?
30 | for(int j = -2; j <= 1;j++)
| ^
| jn
robot.cpp:30:32: error: 'j' does not name a type; did you mean 'jn'?
30 | for(int j = -2; j <= 1;j++)
| ^
| jn
robot.cpp:31:29: error: 'k' does not name a type
31 | for(int k = -2; k <=1; k++)
| ^
robot.cpp:31:36: error: 'k' does not name a type
31 | for(int k = -2; k <=1; k++)
| ^
robot.cpp:32:44: error: expected unqualified-id before ',' token
32 | set_instruction({0,i,0,j,k}, 1,'S'});
| ^
robot.cpp:32:46: error: expected unqualified-id before numeric constant
32 | set_instruction({0,i,0,j,k}, 1,'S'});
| ^
robot.cpp:32:51: error: expected declaration before '}' token
32 | set_instruction({0,i,0,j,k}, 1,'S'});
| ^
robot.cpp:32:52: error: expected unqualified-id before ')' token
32 | set_instruction({0,i,0,j,k}, 1,'S'});
| ^
robot.cpp:33:20: error: expected constructor, destructor, or type conversion before '(' token
33 | set_instruction({0, 0, -2, -2, 1}, 1, 'H');
| ^
robot.cpp:33:38: error: expected unqualified-id before ',' token
33 | set_instruction({0, 0, -2, -2, 1}, 1, 'H');
| ^
robot.cpp:33:40: error: expected unqualified-id before numeric constant
33 | set_instruction({0, 0, -2, -2, 1}, 1, 'H');
| ^
robot.cpp:34:20: error: expected constructor, destructor, or type conversion before '(' token
34 | set_instruction({1, 0, -2, -2, 1}, 1, 'T');
| ^
robot.cpp:34:38: error: expected unqualified-id before ',' token
34 | set_instruction({1, 0, -2, -2, 1}, 1, 'T');
| ^
robot.cpp:34:40: error: expected unqualified-id before numeric constant
34 | set_instruction({1, 0, -2, -2, 1}, 1, 'T');
| ^
robot.cpp:35:1: error: expected declaration before '}' token
35 | }
| ^