Hi all,
i am using while(!feof (f)) to read from a file. i have in1.txt written in vim and in2.txt written in notepad. however, i can get out of the while loop when i am using in1.txt, but cannot when using in2.txt...
why does this happen? is there any way to get out of the while loop when using in2.txt?
anyone can enlighten me?
Thank you so much..