Re: String Comparision
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 16:24:59 +0000
Fred Kleinschmidt said:
"Default User" <defaultuserbr@xxxxxxxxx> wrote in message
news:59kkpuF2k1o49U1@xxxxxxxxxxxxxxxxxxxxx
user34 wrote:
I did not retype the code !^
Here it is once again (without any of the above suggested
improvements)and it still shows me the same error!
#include<stdio.h>
int comp(char *s,char *t)
{
for(;*s==*t;s++,t++);
That semicolon doesn't belong.
What semicolon? That is a comma.
From here, it's whitespace. But in Default User's original reply, it wasa 't'.
Methinks Brian composes news articles using a proportional font.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
- Follow-Ups:
- Re: String Comparision
- From: Default User
- Re: String Comparision
- References:
- String Comparision
- From: user34
- Re: String Comparision
- From: Flash Gordon
- Re: String Comparision
- From: user34
- Re: String Comparision
- From: Default User
- Re: String Comparision
- From: Fred Kleinschmidt
- String Comparision
- Prev by Date: Re: enum variables and extern
- Next by Date: Re: gets() is dead
- Previous by thread: Re: String Comparision
- Next by thread: Re: String Comparision
- Index(es):
Relevant Pages
|