Thanks ! I can't believe I missed that…guess it helps to take a break once in a while. :)
Type: Posts; User: Trekker182
Thanks ! I can't believe I missed that…guess it helps to take a break once in a while. :)
This is my complete program if it helps.
#include <stdio.h>#include <ctype.h>
#include <string.h>
#define S 25
//function prototypes
kind
GUESS THIS WORD:
Please enter a letter:k
Letters guessed so far: k
****
wresult=0GUESS=kWRESULT=0WIP ARRAY****
I've added
printf("GUESS=%c", guess);
printf("WRESULT=%d", result);
printf("WIP ARRAY%s\n", array);
to the function to make sure everything is being passed in as it should be. One...
Hi everyone...I'm trying to right the function that puts the correct letters in the right positons being reported from my previous compareletter function for my game of hang man and its not updating...