I am having some issues trying to understand why I am getting a Exception thrown to this section when I am trying to pass a string that contains content from a getline() statement.
`reference operator[](const size_type _Off) { // subscript mutable sequence auto& _My_data = this->_Get_data(); _IDL_VERIFY(_Off <= _My_data._Mysize, "string subscript out of range"); return (_My_data._Myptr()[_Off]); }` void set_token(string n); string token; while (fin.peek() != '0' && !fin.eof()) { getline(fin, token); set_token(token); } `void set_token(string n) { string strarray[20]; string token; int size = sizeof(n); int i = 0; int j = 0; while (i < size) { if (n[i] != ' ' && n[i] != '\0') { token += n[i]; } else { strarray[j] = token; j++; token.clear(); lexical(strarray[j]); } i++; }`
set_tokenfunction!!!set_tokenfunction.int size = sizeof(n);super broken.