SHAWN ELLIS wrote: > > Hi all, > > I have the latest version of CCS's PCW compiler and I'm trying to > compare two strings. I notice the strcmp function is declared: > > signed int strcmp(*s1, *s2); > > Does this mean that when I call it I must use: > > intvar = strcmp(&s1[0], &s2[0]); > > In effect passing the address of the FIRST ELEMENT of the string? Or > is there some other code which must be used to call this function? > > Thanks, Not is necessary the & and [0]. One problem that i found on CCS, is the function strstr. But i have implemented! Do you want? Miguel.