[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Relative Path Fuction
From:       Rene Gass <kde-devel () gmx ! de>
Date:       2003-06-04 19:34:47
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 04 June 2003 00:38, Oswald Buddenhagen wrote:
> On Tue, Jun 03, 2003 at 04:19:34PM -0400, Benjamin Meyer wrote:
> >   while(list1[level] == list2[++level]);
>
> i'm not sure whether the behaviour of this construct is defined in the c
> standard ... in any case better use
>  while(list1[level] == list2[level])
>   level++;
> instead.

It's

  while(list1[level] == list2[level + 1])
   level++;

actually.

Byte, René

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic