/in/p1.cpp: In function 'std::__cxx11::string sortCharacter(const string&)':
/in/p1.cpp:25:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int index = 0; index < sequence.length()-1;index++){
~~~~~~^~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp:26:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < sequence.length()-1-index;j++){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'std::__cxx11::string makeUnderscores(const string&, const string&, const char&, bool&)':
/in/p1.cpp:65:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i_2 = 0; i_2 < chosenWord.length(); i_2++){
~~~~^~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'std::__cxx11::string makeAllUnderScore(const string&)':
/in/p1.cpp:87:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int index =0; index < word.length(); index++)
~~~~~~^~~~~~~~~~~~~~~
/in/p1.cpp: In function 'bool gamePlay(const string&)':
/in/p1.cpp:112:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < modifiedWord.length(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp:119:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < sequence.length(); k++)
~~^~~~~~~~~~~~~~~~~~~