kano ta prota mou bimata....boithiste me parakalo
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Apr 1 00:11:01 EEST 2003
On 2003-03-31 22:50, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On 2003-03-31 17:46, Yannis Kotsinos <zookie at med.auth.gr> wrote:
> > ps: to
> >
> > p2 = p1+s.st_size-1;
> >
> > einai gia na apofygeis to EOF?
>
> Hint...
>
> [ 0 1 2 3 4 5 6 7 8 9 10 ]
Erm, xoris to '10' sto telos, fusika (theos eimai! katafera kai ebala
off-by one error se paradeigma pou ejhgei giati kwdikas den exei off
by one error).
> p1 0
> st_size 10
> p1 + st_size 10
> thesi teleutaiou valid index 9
More information about the Linux-greek-users
mailing list