I\'m trying to compare two strings. One stored in a file, the other retrieved from the user (stdin).
Here is a sample program:
int main() { char
Because fgets is embededing the newline character into the variable targetName. This is throwing off the comparison.
targetName