declaration with typedef

Hamad Mohammad h.battel at hotmail.com
Mon Dec 27 06:03:15 PST 2010


I can't compile this code

void main()
{
    typedef int number;
    number x;
    x = 314;
    writeln(x);
}



More information about the Digitalmars-d-learn mailing list