thaw^ wrote: |
Okay, that's for Perl. What about C? |
mmelton wrote: |
I hate to point this out, but try to _avoid_ reading one "byte" from a file if your trying to read characters or words aligned to 8bits. With unicode support ever increasing, it can be a dangerous game! |
Quote: |
Even if you're simply reading a number, bare in mind that there could be a pair of nulls every other byte. |
output generated using printer-friendly topic mod, All times are GMT + 2 Hours