combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:12:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 0; i < vc.size(); i++)
| ~~^~~~~~~~~~~
combo.cpp:13:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int j = 0; j < vc.size(); j++)
| ~~^~~~~~~~~~~
combo.cpp:14:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int k = 0; k < vc.size(); k++)
| ~~^~~~~~~~~~~
combo.cpp:15:45: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
15 | string temp = vc[i] + vc[j] + vc[k];
combo.cpp:14:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
14 | for(int k = 0; k < vc.size(); k++)
| ^~~
combo.cpp:16:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
16 | if(press(temp) == 3)
| ^~
combo.cpp:16:26: error: 'temp' was not declared in this scope
16 | if(press(temp) == 3)
| ^~~~
combo.cpp:18:13: warning: no return statement in function returning non-void [-Wreturn-type]
18 | }
| ^
combo.cpp: At global scope:
combo.cpp:19:5: error: expected unqualified-id before 'return'
19 | return res;
| ^~~~~~
combo.cpp:20:1: error: expected declaration before '}' token
20 | }
| ^