Compiler output
prog.cpp: In function 'int main()':
prog.cpp:33:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:38:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:43:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:53:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:58:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:63:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:68:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:73:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:78:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:83:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:88:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos)
^
prog.cpp:95:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos )
^
prog.cpp:105:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos )
^
prog.cpp:111:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos )
^
prog.cpp:121:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t!=string::npos )
^
prog.cpp:141:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<l.size(); i++)
^