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