array and pointer
derek at psych.ward
Thu Mar 5 06:22:23 PST 2009
On Thu, 5 Mar 2009 12:52:14 +0000 (UTC), takeshi wrote:
> 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 s;
> p = s;
p = s.ptr;
More information about the Digitalmars-d-learn