combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:7:5: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17'
7 | if(press(string("XY")){
| ^~~~~
combo.cpp:7:24: error: expected ';' before '{' token
7 | if(press(string("XY")){
| ^
| ;
combo.cpp:10:3: error: expected primary-expression before 'else'
10 | }else{
| ^~~~
combo.cpp:10:3: error: expected ')' before 'else'
10 | }else{
| ^~~~
| )
combo.cpp:7:4: note: to match this '('
7 | if(press(string("XY")){
| ^