Incomplete D programming compiler

I am trying to find the D programming language, and I downloaded the compiler from the official website (http://www.digitalmars.com/d/download.html). and I follow the original textbooks and books on programming D. But the compiler does not seem to recognize many keywords, for example, when I try to use the keyword "immutable", the compiler raises the error "Error: undefined identiable". And he does it with a lot of other D functions.

How is this possible? As far as I know, this is actually an official compiler.

Thanks in advance,

Marnix van Rijswijk

+5
source share
2 answers

You have downloaded the D1 compiler. Get D2.

+9

, D2- D1.

+6

All Articles