12c Subj : Re: string comparison To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Mon Nov 24 2003 09:04 am Base8 wrote: >newstring = new char[ sizeof(passedstring + 1 )] ; This is the wrong size. You want a new char[ strlen(passedstring)+1 ] . 0