~ Could some one explain what EOF is and how I would use it to end loops ~ EOF is a defined value (default is -1 defined in stdio.h: #ifndef EOF #define EOF (-1) #endif ) which is returned by various I/O functions (getc/fgetc....) when they hit 'end-of-file'. To be quick the common usage is: while((c=getc(stdin))!=EOF) putc(c,stdout); -- [EMAIL PROTECTED] http://www.kalug.lug.net
- Re: David Rysdam
- Re: your mail Glynn Clements
- Re: your mail Nassar Carnegie
- Re: your mail Glynn Clements
- Re: your mail David Rysdam
- Re: your mail Nassar Carnegie
- Re: your mail Glynn Clements
- Re: your mail James
- Re: holotko
- No Subject Chris
- Re: your mail CyberPsychotic
- Re: your mail Bug Hunter
- No Subject Darius Blaszijk
- Re: your mail Josh Steiner
- Re: your mail Vitaly Fedrushkov
- Re: your mail Bug Hunter
- No Subject Darius Blaszijk
- No Subject Darius Blaszijk
- Re: your mail Wei Weng
