I have already read the C string function man pages. The best thing I found was "strcmp" and "strncmp". But that's not what I want because it compares two strings. I just want to compare one like this...
char input[3];
do {
//important code
printf ("You want to continue??);
fflush(stdin);
gets(input);
} while (input == "yes" || "Yes);
It doesn't work. I would need to not use string and just a char like: "y" for yes. Is there a way I can do what I want? How can I compare just this one string with these values?