cvs.gedasymbols.org/archives/browse.cgi | search |
Date: | Tue, 1 Jul 1997 18:04:28 -0500 (CDT) |
From: | Adam W Lee <adalee AT sendit DOT sendit DOT nodak DOT edu> |
Message-Id: | <199707012304.SAA27051@sendit.sendit.NoDak.edu> |
To: | djgpp AT delorie DOT com |
Subject: | Re: Directory Listing |
I just do something like this... #include <stdio.h> #include <dir.h> void main(int argc, char *argv[]) { ffblk ff; int done; done=findfirst(argv[1],&ff,0); while(!done) { printf("%s",ff.ff_fname); done=findnext(&ffblk); } } I wrote this code online so it may be mistaken.... atomly
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |