combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:52:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
52 | while(erg.size() < menge - 1 ){
| ~~~~~~~~~~~^~~~~~~~~~~
combo.cpp:54:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | if(numm == erg.size()){
| ~~~~~^~~~~~~~~~~~~
combo.cpp:57:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | else if(numm - 1 == erg.size()){
| ~~~~~~~~~^~~~~~~~~~~~~
combo.cpp:65:17: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
65 | if(erg.size() < menge){
| ~~~~~~~~~~~^~~~~~~
combo.cpp:68:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | if(numm == erg.size()){
| ~~~~~^~~~~~~~~~~~~
combo.cpp:75:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | if(numm == erg.size()){
| ~~~~~^~~~~~~~~~~~~
combo.cpp:82:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | if(numm == erg.size()){
| ~~~~~^~~~~~~~~~~~~
In file included from /usr/include/c++/10/cassert:44,
from combo.cpp:2:
combo.cpp:87:21: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
87 | assert(erg.size() == menge);
| ~~~~~~~~~~~^~~~~~~~
combo.cpp:51:7: warning: unused variable 'rechner' [-Wunused-variable]
51 | int rechner = 0;
| ^~~~~~~