/in/p1.cpp: In function 'int main()':
/in/p1.cpp:19:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<answer.length();i++)
~^~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'int displayscreen(int, std::__cxx11::string, std::__cxx11::string, int, int*, int*)':
/in/p1.cpp:33:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (wincnt==answer.length())
~~~~~~^~~~~~~~~~~~~~~~~
/in/p1.cpp:50:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<answer.length();i++)
~^~~~~~~~~~~~~~~~
/in/p1.cpp:82:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<answer.length();j++)
~^~~~~~~~~~~~~~~~
/in/p1.cpp:94:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (wrongcnt==answer.length())//if the letter is not right in all the positions, then score=score+1, and the letter become one of the wrongproposed
~~~~~~~~^~~~~~~~~~~~~~~~~
/in/p1.cpp:121:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^