Yea, thanks to matsp too, u know i dont think id have been able to come up with such a code. Ill be taking a look as soon as i get home. I know ill definately learn something from it :)
11-18-2008
matsp
Quote:
Originally Posted by zacs7
Wow thanks matsp,
I do have a question
Code:
p = fgets(buffer, (int)size, f);
Why the cast? size was size_t.
Right now? No idea, really - I'm pretty sure it's not needed. Probably a consequence of some change that I never fully finalized...