Re: problem with ifstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Massimiliano,

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

corey

On 11/3/05, massimiliano cialdi <cialdi@xxxxxxxxx> wrote:
> On 11/3/05, John Love-Jensen <eljay@xxxxxxxxx> 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@xxxxxxxxx
> m.cialdi@xxxxxxxx
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux