pushkar raj <[EMAIL PROTECTED]> wrote: > > The code that I have been trying is given below.....
[Snipped.] > The problem with this code is that the loop doesn't terminate. Because it has classic newbie mistakes. I seriously suggest you read the comp.lang.c FAQ... http://c-faq.com/ Particularly section 12. > char ch; int ch; > while(!feof(fp1)) This is nearly _always_ wrong. See the FAQ. -- Peter
