combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:16:7: error: 'press' was not declared in this scope
16 | if (press("A")==0){conseq+="BXY";}
| ^~~~~
combo.cpp:22:7: error: 'press' was not declared in this scope
22 | if (press(conseq[i]+conseq[i])==2){doubled = i ;break ;}
| ^~~~~
combo.cpp:27:8: error: 'press' was not declared in this scope
27 | if ( press(conseq[i]+conseq[(i+1)%3]+conseq[(i+2)%3])==3){S += conseq[i]+conseq[(i+1)%3]+conseq[(i+2)%3];break ;}
| ^~~~~
combo.cpp:32:22: error: 'press' was not declared in this scope
32 | if (i!= doubled && press(conseq[i]+conseq[doubled]+conseq[doubled])==3){S += conseq[i]+conseq[doubled]+conseq[doubled];break ;}
| ^~~~~