Problems with strings and for loops
Hey guys, I've being given a task of making a simple game of hangman for a project, you would have thought it wouldn't be too hard would you, still, I'm having a couple of problems and i was wondering if you could help me.
What i am trying to do is use the script below to read through an array of characters and stop when it finds a specific one:
so whilst the code is running and is not at the terminating character it will keep checking for specific characters.
for (j=0; let2bg[j] != '\0'; j++);
I also have the rest of the code at http://rafb.net/paste/results/m1638719.html
Thanks for your help!