problem with ifstream

corey taylor corey.taylor@gmail.com
Thu Nov 3 16:00:00 GMT 2005


Massimiliano,

  What do the positions show when using getline() instead?

corey

On 11/3/05, massimiliano cialdi <cialdi@gmail.com> wrote:
> On 11/3/05, John Love-Jensen <eljay@adobe.com> wrote:
> > Hi Massimiliano,
> >
> > Something is definitely awry, since:
> >
> > S02B0000433A5C4C61766F72695C6265725C626F6F746C6F61645C6B65726E656C5C6B65726E
> > 656C5C516B6C0B
> >
> > Is 90 characters long (ignoring the line break), not 95 in your test_ok and
> > test_nook examples.
> > Something is off-by-5.  Very odd.
> and it vary by adding or removing lines from kernl.mot
>
> >
> > It also appears that your end-of-line marker is a single character long.  CR
> no... if you try to open the kernel.mot file you can see 0x0d 0x0a as
> eol marker (the windows style CR-LF - \r\n)
>
>
> thanks
> --
> Massimiliano Cialdi
> cialdi@gmail.com
> m.cialdi@oksys.it
>



More information about the Gcc-help mailing list