hmmm... I've tried both - but it's a binary file I'm opening
--- In [email protected], "Paul Herring" <[EMAIL PROTECTED]>
wrote:
>
> On Fri, Nov 7, 2008 at 10:08 AM, boogiebehometh
> <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> >
> > Help will be greatly appreciated.
> >
> > when reading characters from a file & printing them to screen as
Hex as
> > a test programme, my programme keeps mis-interpreting the
> > sequence "0x77" followed by "0x1A" as an EOF.
>
> Are you opening your file in text or binary mode?
>
> --
> PJH
>
> http://shabbleland.myminicity.com/env
>