combo.cpp: In function 'std::string za_prvo(std::string)':
combo.cpp:6:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | if(press(tr+"A"+tr+"B")>tr.size()){
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
combo.cpp:7:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | if(press(tr+"A")>tr.size())
| ~~~~~~~~~~~~~^~~~~~~~~~
combo.cpp:11:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if(press(tr+"X")>tr.size())
| ~~~~~~~~~~~~~^~~~~~~~~~
combo.cpp: In function 'std::string za_poslednje(std::string)':
combo.cpp:21:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if(press(tr+moguci[0]+tr+moguci[1])>tr.size()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
combo.cpp:22:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | if(press(tr+moguci[0])>tr.size())
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~