Lee M.
Mar 2nd, 2001, 04:52 PM
I have a homework assignment due tonight;
I need to write a program in C++ with the following:
Hangman Game
It has to have 2 parallel arrays, One named Word, which will store the word entered by a user.
The second array will be called Guesses, will store a corisponding dash (-) for each letter in the word.
with each correct guess the (Hyphen) will be replaced by the letter.
Both the Guess and the word array will need to be 6 element Character arrays.
Now I fumbled my way through the simple array project, and this is my last problem, and I really need help. The book isn't really clear. I just want to finish the class and move on, it was required. I have no plans on writing in C++, I am O.K. with VB.
Help! I really need to get it done, and I have NO CLUE!
I need to write a program in C++ with the following:
Hangman Game
It has to have 2 parallel arrays, One named Word, which will store the word entered by a user.
The second array will be called Guesses, will store a corisponding dash (-) for each letter in the word.
with each correct guess the (Hyphen) will be replaced by the letter.
Both the Guess and the word array will need to be 6 element Character arrays.
Now I fumbled my way through the simple array project, and this is my last problem, and I really need help. The book isn't really clear. I just want to finish the class and move on, it was required. I have no plans on writing in C++, I am O.K. with VB.
Help! I really need to get it done, and I have NO CLUE!