Reading MS-DOS directory in C, how to
Doug Lucy
dlucy at tropez.UUCP
Fri Feb 16 01:26:23 AEST 1990
In article <1990Feb14.031640.28944 at usenet.ins.cwru.edu>, dkazdan at cwsys2.cwru.edu (David Kazdan) writes:
>
> would like to read the current directory in a C program....
> some call that returns an array of pointers to strings
>
The CXL (C eXtended Library) by Mike Smedley (it's shareware) is a rather
full-featured windowing, input and graphics lib. It has two functions you
may be interested in (not sure what your application is): wpickstr and
wpickfile. These functions put up a user-defined window complete with
highlight bar and user-defined/or-not movement that lets the user pick
a string from an array *OR* pick a filename from the disk structure
(user can follow tree up or down). It comes in Microsoft, Zortech (?)
and Borland flavors. Lots of docs, too. (Does this sound like an ad,
or what?)
--
"It's such a fine line between clever..." < Doug Lucy DC Pro >
"...and stupid." < uucp: uunet!tropez!dlucy >
"Yeah, stupid." < bbs: 703-370-8672 >
More information about the Comp.lang.c
mailing list