Biggest problems w/ D - strings

C. Dunn cdunn2001 at gmail.com
Mon Aug 13 12:49:57 PDT 2007


Derek Parnell Wrote:
> You could try this simpler method ...

Oh. Slices!  I didn't think of that.  It should be just as efficient too, since these slices will not copy the contents.

As for your follow-up, I thought that
  char abc[32];
would initialize abc to 32 zeroes automatically.  Am I wrong?



More information about the Digitalmars-d mailing list