From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Directory Listing Date: Tue, 01 Jul 1997 23:48:50 +0000 Organization: Two pounds of chaos and a pinch of salt Message-ID: <33B99762.18AC@cs.com> References: <199707020124 DOT JAA09958 AT mitswa DOT com DOT au> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp108.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Paul Whitfield wrote: > > Why bother posting code without checking it! The person who asked the > questin is obviously a novice programmer - or newbie to djgpp > otherwise they would not have posted such a simple request > > Here is the code that works and does not have a void return type. The program still won't work unless you disable command-line globbing. See my other post for the technique to turn it off. -- --------------------------------------------------------------------- | John M. Aldrich | "Be wary of strong drink. It can | | aka Fighteer I | make you shoot at tax collectors-- | | mailto:fighteer AT cs DOT com | and miss." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------