From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: How to fix? Date: Sun, 07 May 2000 18:58:19 +0100 Organization: Customer of Planet Online Lines: 13 Message-ID: References: <8f435u$j50$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: modem-9.indium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news6.svr.pol.co.uk 957722333 18789 62.136.40.9 (7 May 2000 17:58:53 GMT) NNTP-Posting-Date: 7 May 2000 17:58:53 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com jaxonjr AT my-deja DOT com wrote: > How do I fix this? > case '/' works but case '*' doesn't. The '*' is being expanded. Try adding this code to the top of your program and you will see what is happening: int i; for (i=0; i