Hi All,
As per the book named in the subject it states as below,so can
some one guide me what is wrong in the below code nor correct if
my understanding is wrong.
Page 154
immutable(int[]) specifies that neither the slice nor its
elements can be modified.
So which means that a element or
On 10/17/2016 11:10 AM, vino wrote:
Hi All,
As per the book named in the subject it states as below,so can some one
guide me what is wrong in the below code nor correct if my understanding
is wrong.
Page 154
immutable(int[]) specifies that neither the slice nor its elements can
be modified.
S
On Monday, 17 October 2016 at 18:10:01 UTC, vino wrote:
Hi All,
As per the book named in the subject it states as below,so can
some one guide me what is wrong in the below code nor correct
if my understanding is wrong.
Page 154
immutable(int[]) specifies that neither the slice nor its
elem
On Monday, 17 October 2016 at 18:20:00 UTC, cym13 wrote:
On Monday, 17 October 2016 at 18:10:01 UTC, vino wrote:
[...]
I don't see what you don't understand, you said it yourself:
"neither the slice nor its elements can be modified". So you
can't modify the elements of an immutable array. i
On Monday, 17 October 2016 at 18:20:00 UTC, cym13 wrote:
On Monday, 17 October 2016 at 18:10:01 UTC, vino wrote:
Hi All,
As per the book named in the subject it states as below,so
can some one guide me what is wrong in the below code nor
correct if my understanding is wrong.
Page 154
immut
On Monday, 17 October 2016 at 18:17:24 UTC, Ali Çehreli wrote:
On 10/17/2016 11:10 AM, vino wrote:
[...]
What version is your compiler? My version is DMD64 D Compiler
v2.072.0-b2.
Trying the code with a recent compiler produces three
compilation errors for the following three lines
i
On 10/17/2016 11:48 PM, vino wrote:
On Monday, 17 October 2016 at 18:20:00 UTC, cym13 wrote:
On Monday, 17 October 2016 at 18:10:01 UTC, vino wrote:
Hi All,
As per the book named in the subject it states as below,so can some
one guide me what is wrong in the below code nor correct if my
under
Free paperback of "Programming in D" by Ali Çehreli. You'll pick
it up in San Francisco. It's a great book, but I prefer to read
it in electronic form.
Send a message to the account "throwaway389012" on Reddit if you
want it. Leave your phone number or emai