| delorie.com/archives/browse.cgi | search |
| From: | Mete Ciragan <mete AT swix DOT ch> |
| 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 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |