MLUG: Re: [MLUG] String manipulation in C
Re: [MLUG] String manipulation in C
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 7/1/07, Stephen Montgomery-Smith <EMAIL:PROTECTED> wrote:
   while (haystack=strstr(haystack,needle)) {
     printf("%d\n",haystack-begin);
     haystack++;
   }

Ah, I tested that it compiles, you want me to debug it too?

Thank you for spotting that.

Regards,
Mark
EMAIL:PROTECTED
--
Mark Rages, Engineer
Midwest Telecine LLC
EMAIL:PROTECTED

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members