-
Originally posted by Hammer
You do realise my program does the comparison between the 2 file extensions?
The 16 is difference between them. Look at the line
>return ((strcmp (p1, p2)));
At this point p1 and p2 point to the file extensions in each filename.
I understand you are using strcmp to compare two string.
However, i don't understand the return value 16.
I know you cut off the first value by using strrchr.
Can you please elaborate on that? You don't need to write codes for me. I just need to understand what to do with the return value 16.
Tips?
Last edited by The gib; 05-27-2002 at 08:36 PM.
Popular pages
Recent additions