Help please.
https://code.sololearn.com/cfEeOrJB5IT5/#cpp In this code I do not understand the following section. int main() { enum fields {WORD, HINT, NUM_FIELDS}; const int NUM_WORDS = 5; const string WORDS[NUM_WORDS][NUM_FIELDS] = { {"wall", "Do you feel you're banging your head against something?"}, {"glasses", "These might help you see the answer."}, {"labored", "Going slowly, is it?"}, {"persistent", "Keep at it."}, {"jumble", "It's what the game is all about."} }; srand(static_cast<unsigned int>(time(0))); int choice = (rand() % NUM_WORDS); string theWord = WORDS[choice][WORD]; // word to guess string theHint = WORDS[choice][HINT]; // hint for word If the array is called WORDS[num_words][num_fields] then how are they calling the hint by saying WORDS[choice][HINT] I understand how choice was gotten but I don't understand hint. No where was hint defined. HINT is not part of the array wasn't the array [num_fields] Also how is WORDS[choice][WORD] work? Wasn't that supposed to be [num_words]