You will need to create a "main" program.
fopen the filename
fgets from the file into a buffer
The buffer should be declared large enough
fclose the file
strcmp the 2 buffers of characters
printf some kind of result
//do something with the stuff you've read in
i'm very much a beginner too but i THINK this will get you on the lines of reading in float values. its not difficult to convert it into reading characters from the file. try googling for parts of code - don't expect to just go out and find what your looking for. you have to play around yourself too otherwise its no fun.