delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/02/18:39:57

From: Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: File listing
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <76fh9scttgn0k3lfi45equ7a80uopkg97j@4ax.com>
References: <200002022203 DOT OAA01009 AT www1 DOT xoommail DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 16
X-Trace: /wzbxYosa/zDnQii/IPLHr4bl78QpiblgHHA0dA4iFjqp3BN/BTEhL+EY2XXmFl/ejIkr0C+EA4q!Eb1AwjlKKGt5RhEorMtx1/FKD0o0oxoWZHarOI9ej3hQXCMaVHlU2F6TGAv5rAH8kiqc4ivC0g==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 02 Feb 2000 23:27:49 GMT
Distribution: world
Date: Wed, 02 Feb 2000 23:27:49 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 2 Feb 2000 14:03:24 -0800, Brian Ronk <rithe AT xoommail DOT com>
wrote:

>I am curious as to how to list the files in a 
>directory to the screen, or into an array, like a 
>file open window.  Could somebody give me some 
>ideas?

Look in the libc docs for findfirst() or look in the Allegro docs for
for_each_file().

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

- Raw text -


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