robot.cpp: In function 'void program_pulibot()':
robot.cpp:19:34: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
19 | set_instruction({0,-2,0,0,-2},1,"S");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^
robot.cpp:20:34: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
20 | set_instruction({0,-2,-2,0,0},1,"E");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^
robot.cpp:21:34: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
21 | set_instruction({0,0,-2,-2,0},1,"T");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^
robot.cpp:23:36: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
23 | set_instruction({0,-2,-2,-2,-2},1,"T");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^
robot.cpp:25:34: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
25 | set_instruction({0,-2,0,-2,0},1,"S");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^
robot.cpp:26:35: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
26 | set_instruction({0,-2,-2,-2,0},1,"T");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^
robot.cpp:28:35: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
28 | set_instruction({0,-2,-2,0,-2},1,"E");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^
robot.cpp:29:35: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
29 | set_instruction({0,0,-2,-2,-2},1,"T");
| ^~~
| |
| const char*
In file included from robot.cpp:1:
robot.h:4:54: note: initializing argument 3 of 'void set_instruction(std::vector<int>, int, char)'
4 | void set_instruction(std::vector<int> S, int Z, char A);
| ~~~~~^