Accessing a char array, and comparing a letter, to each letter of a word.
Hello, I know this is a super easy fix, I just cant for the life of me figure it out. I have and array,
word[100];
using an input function (not gets() don't worry) to put lets say 'superman' inside, need to compare a single character to each letter of the word 'superman'. I'm planning on using recursion to compare each character. Is there a way to set and integer equal to the first letter of the name 'superman'? And add one to it each time it loops till I find what i'm looking for.