Re: String Comparision
- From: "Fred Kleinschmidt" <fred.l.kleinmschmidt@xxxxxxxxxx>
- Date: Mon, 30 Apr 2007 14:37:22 GMT
"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.
--
Fred L. Kleinschmidt
.
- Follow-Ups:
- Re: String Comparision
- From: Default User
- Re: String Comparision
- From: Richard Heathfield
- 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
- String Comparision
- Prev by Date: enum variables and extern
- Next by Date: Re: enum variables and extern
- Previous by thread: Re: String Comparision
- Next by thread: Re: String Comparision
- Index(es):
Relevant Pages
|