help writing a function using strcmp?

Greg0787

New member
Just wrote a function...


http://pastebin.com/9nY0iMXu

I'm trying to implement a strcmp, but I don't understand the function. I have a loop statement below and what im trying to do is make this loop statement compare the lines from two files i wrote. If the lines do not match, i want the line to print. However... I don't understand strcmp. Can someone please explain for me how to do this? thanks.
 
Back
Top