Subj : Re: Software Job Market Myths To : comp.programming,comp.software-eng From : Baxter Date : Wed Aug 17 2005 08:59 pm How is that any kind of problem? All it means is that strcpy and strcat won't change the source strings (char*). -- --------------------------------------------------------------------- DataGet & PocketLog www.dataget.com Data Collectors www.baxcode.com -------------------------------------------------------------------- "Joe Wright" wrote in message news:V56dnQ5jRtOGcZ7eRVn-tQ@comcast.com... > Chris Sonnack wrote: > > CTips writes: > > > > > >>>>> char* strconcat(char* s1, char* s2) > >>>>> { > >>>>> char buf[256]; > >>>>> > >>>>> strcpy(buf, s1); > >>>>> strcat(buf, s2); > >>>>> > >>>>> return buf; > >>>>> } > 2. Both strcpy and strcat qualify their second 'src' argument as 'const > char *'. .