Hi Friend, In his book "Advanced Programming in a Unix Envuronment," Richard Stevens writes that fgets() runs faster than fgetc(). That's for two reasons, I think. First, fgets() reads a line when you call it. Second, since it does re a line when you call it, it requires fewer system calls than fgetc() would require. I'm pretty sure about this, but it's probably a good idea to check with our friends. They know more than I do. Good luck, Bill
- Efficient File Reading Joseph Durbin
- Re: Efficient File Reading Henrik Nordstrom
- Re: Efficient File Reading MCENANEY WILLIAM J
- Re: Efficient File Reading Glynn Clements
- Re: Efficient File Reading MCENANEY WILLIAM J
- Re: Efficient File Reading Glynn Clements