Question regarding the End Of File operator in C
I'm using Cygwin and Notepad++ on Windows 7 Ultimate to make C programs and I've just started learning C. I have a question about using the EOF operator in loops. For example if I use " while (x!=EOF) " , what exactly is EOF ? How does the compiler know where does the file/input end? I always have to use Ctrl+Z to end my input or for EOF, how do I make EOF native to the input or file ?








