Error on website.

Jesse Phillips jessekphillips at gmail.com
Wed Feb 6 19:15:15 PST 2008


On Wed, 06 Feb 2008 21:23:06 +0100, Saaa wrote:

> char[] str;
> char[] str1 = "abc";
> str[0] = 'b';        // error, "abc" is read only, may crash
> 
> Editing str has nothing to do with str1, as far as I know.

True, but it fails because str points to nothing.



More information about the Digitalmars-d mailing list