/in/foo.cc: In member function 'void girlfriends::enter(const std::vector<std::__cxx11::basic_string<char> >&)':
/in/foo.cc:45:9: error: redeclaration of 'std::__cxx11::string name'
string name, adress;
^~~~
/in/foo.cc:43:9: note: 'std::__cxx11::string name' previously declared here
string name, adress;
^~~~
/in/foo.cc:45:15: error: redeclaration of 'std::__cxx11::string adress'
string name, adress;
^~~~~~
/in/foo.cc:43:15: note: 'std::__cxx11::string adress' previously declared here
string name, adress;
^~~~~~
/in/foo.cc:50:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int n=0;n<girls[i].size();n++)
~^~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void girlfriends::inquiry(const std::vector<std::__cxx11::basic_string<char> >&)':
/in/foo.cc:76:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int n = 0; n < all_name.size(); n++) {
~~^~~~~~~~~~~~~~~~~
/in/foo.cc:91:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int n = 0; n < all_adress.size(); n++) {
~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:94:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < all_name[n].size()-1; i++)
~~^~~~~~~~~~~~~~~~~~~~~~