0_0_35798861_24901.cpp: In function 'void getNext(std::string)': 0_0_35798861_24901.cpp:9:8: error: invalid types '<unresolved overloaded function type>[int]' for array subscript next[0]=-1; ^