Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!uunet!isis!cla From: cla@isis.cs.du.edu (Chuck Anderson) Newsgroups: comp.lang.c Subject: Re: using "=" in a conditional (was Funny Mistake) Message-ID: <1991Mar20.031419.3677@isis.cs.du.edu> Date: 20 Mar 91 03:14:19 GMT Reply-To: cla@isis.UUCP (Chuck Anderson) Organization: Center for Life Fulfillment Lines: 11 You can do a nice string copy with this construct as well: (dest is a char array and source is a valid C string) while (*dest++ = *source++); -- ************************************************************************* Chuck Anderson uucp : uunet!isis!cla Boulder, Co. (303) 494-6278 internet: cla@isis.cs.du.edu *************************************************************************