Compiler output
ver.cpp: In function 'int main(int, char**)':
ver.cpp:55:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<s[i].size(); ++j) {
^
ver.cpp: At global scope:
ver.cpp:41:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char *argv[]) {
^
prog.cpp: In function 'int main()':
prog.cpp:36:9: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
gets(s);
^
prog.cpp:36:15: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
gets(s);
^
/tmp/cclkQOc9.o: In function `main':
prog.cpp:(.text.startup+0x30): warning: the `gets' function is dangerous and should not be used.