www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/02/00:32:06

Message-Id: <1.5.4.32.19961002042510.0070da88@mail.interlog.com>
Mime-Version: 1.0
Date: Wed, 02 Oct 1996 00:25:10 -0400
To: djgpp AT delorie DOT com
From: Farhan Yousaf <farhany AT interlog DOT com>
Subject: findfirst(), findnext()

Dear DJGPPers,

I have tried to use #pack(1) and #pack() as the FAQ suggests to fix the bug,
but it doesn't seem to work.

For example:

No matter, how many files I seem to have, findnext only reports 1 and breaks
out of the loop:

findfirst(...);

while (!done) {
  done = findnext(...);
}

Am I at fault here? This is in CPP, BTW.

Thanx.
--
Farhan Yousaf    "We were never feeling bored         <farhany AT interlog DOT com>
PSBFreak          because we were never being boring."   <ca337 AT torfree DOT net>
PSB, Hit Music:   http://www.interlog.com/~farhany/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019