Hi everyone...
I have coded this Hangman prog as a school project, however I am experiencing a small problem. The program prints a number of *s for every random
word that is chosen. For instance, the word "oasis" would be *****. Yet, when printing the *s, it gives the last letter of the word a "null" value, in other words the array's last space is empty. For instance once again: oasis is now ****null...
And for some reason, if you type in the correct letter for the first letter of the word (in oasis "o"), it simply doesn't print it.
The problem would be in the
test() void.
I am printing the code here. The text files (if you want to compile the program), can be found at
http://www.geocities.com/kitaarmykruis/content.txt Will anybody be willing to take a look?
I am also placing the driver program for anyone who wants to compile.