From: Mete Ciragan Newsgroups: comp.os.msdos.djgpp Subject: Re: Deleteing in a string Date: Mon, 06 Apr 1998 00:00:21 +0200 Organization: chUmbaLum sOft Lines: 14 Message-ID: <3527FEF5.735A@swix.ch> References: <01bd60d9$c33d8300$0f02000a AT frank DOT mtsu DOT edu DOT frank DOT mtsu DOT edu> Reply-To: mete AT swix DOT ch NNTP-Posting-Host: ppp228.swix.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, > if(y==",") Shouldn't it be this: > if(y==',') You cannot compare a pointer (",") with a char (y, ',') without cast ... Do you want to remove the ',' or to replace it with the next character? cu Mete --- mete AT swix DOT ch http://www.clan.ch/mete/