Se posso dire anche la mia compilato su Mac mi da questi errori:
codice:
My-imac:desktop pacio$ g++ main.cpp
main.cpp: In member function ‘void HashTable::LCS(std::string, std::string, int)’:
main.cpp:79: error: name lookup of ‘r’ changed for new ISO ‘for’ scoping
main.cpp:75: error: using obsolete binding at ‘r’
main.cpp: In member function ‘void HashTable::trovavocabolo(std::string)’:
main.cpp:107: error: name lookup of ‘k’ changed for new ISO ‘for’ scoping
main.cpp:100: error: using obsolete binding at ‘k’
Quindi concordo con quanto già affermato...