/in/foo.cc: In function 'int main()':
/in/foo.cc:26:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<currentdirectory.size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:39:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<currentdirectory.size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:55:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(directoryname.size()==x)
~~~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc:57:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<currentdirectory.size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:60:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=i;j<currentdirectory.size();j++)
~^~~~~~~~~~~~~~~~~~~~~~~~