Hey I have a character array here that is suppose to print the different parts of a hangman game
char HANG_STATES[7][10 * 9] =
{
" + +---- +---- +---- +---- +---- +---- +---- ",
" | | | O | O | O | O | O | O ",
" | | | | + | --+ | --+-- | --+-- | --+--",
" | | | | | | | | | | | | | ",
" | | | | | | | / | / \\ ",
" | | | | | | | | ",
"/*****\\ /*****\\ /*****\\ /*****\\ /*****\\ /*****\\ /*****\\ /*****\\ /*****\\ "
};
I thought it'd be like looping through rows and columns, but I've had no success with it so far. My question is, how can I print the 5th instance in this character array?
[10 * 9 + 1]