combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:7:5: error: 'vector' was not declared in this scope
7 | vector<char> ch;
| ^~~~~~
combo.cpp:2:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
1 | #include "combo.h"
+++ |+#include <vector>
2 |
combo.cpp:7:12: error: expected primary-expression before 'char'
7 | vector<char> ch;
| ^~~~
combo.cpp:11:13: error: 'ch' was not declared in this scope
11 | ch = {'B','X','Y'};
| ^~
combo.cpp:15:13: error: 'ch' was not declared in this scope
15 | ch = {'A','X','Y'};
| ^~
combo.cpp:20:9: error: 'ch' was not declared in this scope
20 | ch = {'A','B','Y'};
| ^~
combo.cpp:24:9: error: 'ch' was not declared in this scope
24 | ch = {'A','B','X'};
| ^~
combo.cpp:30:24: error: 'ch' was not declared in this scope
30 | query+=res+ch[2]+ch[j];
| ^~
combo.cpp:32:20: error: 'ch' was not declared in this scope
32 | query+=res+ch[1];
| ^~
combo.cpp:38:15: error: 'ch' was not declared in this scope
38 | query=res+ch[0]+res+ch[1];
| ^~