In file included from /in/driver/driver.cpp:1:0:
/in/ex2.h: In function 'int frequency(User, std::__cxx11::string)':
/in/ex2.h:59:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((index = user.blog_list->titles[i].find(word, index)) < user.blog_list->titles[i].length()){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/ex2.h:66:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((index = user.blog_list->contents[j].find(word, index)) < user.blog_list->contents[j].length()){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~