Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!husc6!mit-eddie!ll-xn!ames!ptsfa!ihnp4!inuxc!iuvax!bsu-cs!null
From: null@bsu-cs.UUCP (Patrick Bennett)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Need help (Turbo C program)
Message-ID: <887@bsu-cs.UUCP>
Date: Sat, 25-Jul-87 15:08:28 EDT
Article-I.D.: bsu-cs.887
Posted: Sat Jul 25 15:08:28 1987
Date-Received: Sun, 26-Jul-87 03:07:03 EDT
References: <306@qtc.UUCP> <5190001@hplsla.HP.COM> <805@cpocd2.UUCP>
Organization: CS Dept, Ball St U, Muncie, Indiana
Lines: 14

In article <805@cpocd2.UUCP>, rod@cpocd2.UUCP (Rod Rebello) writes:
> I didn't see the original code, but in Turbo C, you do not have to
> explicitly set the dta address prior to calling findfirst.  This is
> handled automatically.  I have used this routine, along with findnext
> several times without problems.

True - TC is very nice about these things...   I believe his problem was
not in his use of findfirst/findnext but in his loop to print out the
filenames...  He was missing the '&' address-of operator before his
array reference to printf.

-- 
----
Patrick Bennett     UUCP:  {ihnp4,seismo}!{iuvax,pur-ee}!bsu-cs!null