array and pointer

takeshi takeshi at enomosphere.net
Thu Mar 5 04:52:14 PST 2009


Hello, I have just started learning D.

I cannot compile the code in the documentation on array and pointer
either with dmd (D 2.0) and gdmd (D 1.0).

Is some compile option or cast required?

int* p;
int[3] s;
p = s;


More information about the Digitalmars-d-learn mailing list