Sender: brozzis AT mag00 DOT cedi DOT unipr DOT it Message-Id: <335E0202.DE5@mag00.cedi.unipr.it> Date: Wed, 23 Apr 1997 14:35:14 +0200 From: Stefano Brozzi Mime-Version: 1.0 To: djgpp AT delorie DOT com Subject: problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Ok, copy this program. Call it imOK.c, compile. it works correctly. Rename it imKO.cc, compile. Two heading chars are missing in filenames. Please explain. It's late in the night, am I missing something ? #include // for printf #include int main() { struct ffblk f; int done; done = findfirst("*.*", &f, FA_ARCH|FA_RDONLY); while (!done) { printf( "\n%s", f.ff_name); done = findnext(&f); } } TIA Stefano PS: this is taken from help, slightly reduced. PPS: Why is DJGPP still present in all FTP sites ? Does it have anything superior than v2 (other than compile speed) or it's there just for supporting 'old' users ?