Update:
The strcmp worked perfectly. Thank You Blodrast.![]()
More questions:
1. How do I take a single letter out of a string and compare it to another letter in another string that only has one letter.
For example:
I have the word "games", then it is scrambled to "agmse". "agmse" appear on the screen and the user is asked to guess the first letter of the scrambled word. Then the user inputs "g" and then the program checks if the this matches the first letter in the original word. Then it asks the user to guess the second letter and check that, and so on until it gets to the end of the word.
I have a feeling that it will contain a for loop.
Bookmarks