Re: String Comparision
- From: "Default User" <defaultuserbr@xxxxxxxxx>
- Date: 30 Apr 2007 18:24:23 GMT
Richard Heathfield wrote:
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
was a 't'.
Methinks Brian composes news articles using a proportional font.
No, I use a non-proportional font. My newsreader uses Courier New. My
reply to my original message did bump it over into whitespace, but that
seems to be an artifact of the quoting mechanism.
Brian
.
- 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
- Re: String Comparision
- From: Richard Heathfield
- String Comparision
- Prev by Date: Re: Smart conversion from a string to different type of numbers
- Next by Date: Re: multiplication
- Previous by thread: Re: String Comparision
- Next by thread: Re: String Comparision
- Index(es):
Relevant Pages
|