ERROR - "cannot implicitly convert expression (s) of type int[3u] to int*"
Stewart Gordon
smjg_1998 at yahoo.com
Fri Jun 18 06:19:49 PDT 2010
Chick Corea wrote:
> [NOTE - sent twice as I was unsure that first attempt,
> pre-subscription, was received.]
>
> Working through the basics of D and running into simple problems that I
> cannot solve, such as:
>
> Error: cannot implicitly convert expression (s) of type int[3u] to int*
> Error: cannot implicitly convert expression (a) of type int[] to int*
>
> Those are the result of code that I pulled directly from the D v1 docs from
>
> http://www.digitalmars.com/d/1.0/arrays.html
<snip>
This was deprecated in 0.177, but the example code is out of date.
http://d.puremagic.com/issues/show_bug.cgi?id=996
Stewart.
More information about the Digitalmars-d-learn
mailing list