Hi I am a beginner in C. I am working on a program that asks to search words from one file whether they exist in other or not. Here is the code.
The problem seems to be that when the first word is extracted from one file and searched and compared through the whole other file ,the next time outer loop starts the inner loop exits because dt_val is still seems be be EOF . After the loop I do assign it to 0 but it does'nt help the search of the complete first file in other.
printf("It does not exists\n");