I use fgets to get a 10char name from a file
and store it in a string array.
and then I use a CIN input to get a 10 char string array
when I use
strcmp (string1, string2)
it would not get a match even though
KEN is read in from file
and KEN is type in for the CIN >> input




Reply With Quote