foo.cc: In function ‘int main()’:
foo.cc:14:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
14 | for(a=0;a<=x.size();a=a+1)
| ~^~~~~~~~~~
foo.cc:6:13: warning: unused variable ‘y’ [-Wunused-variable]
6 | int y[50];
| ^
foo.cc:8:15: warning: unused variable ‘b’ [-Wunused-variable]
8 | int a,b,c,d,e,f,g=0;
| ^
foo.cc:8:17: warning: unused variable ‘c’ [-Wunused-variable]
8 | int a,b,c,d,e,f,g=0;
| ^
foo.cc:8:19: warning: unused variable ‘d’ [-Wunused-variable]
8 | int a,b,c,d,e,f,g=0;
| ^
foo.cc:8:21: warning: unused variable ‘e’ [-Wunused-variable]
8 | int a,b,c,d,e,f,g=0;
| ^
foo.cc:8:23: warning: unused variable ‘f’ [-Wunused-variable]
8 | int a,b,c,d,e,f,g=0;
| ^