www.digitalmars.com         C & C++   DMDScript  

D - fresh bugs, only 0.99$, order today!

reply "Pavel Minayev" <evilone omen.ru> writes:
Quite a weird one, makes the compiler crash:

    import string;

    int main()
    {
     char* lpstr = toCharz(string);  // !!!
     return 0;
    }
Dec 23 2001
parent "Pavel Minayev" <evilone omen.ru> writes:
The following program causes an Access Violation when run.
Seems to happen each time I use initializers on char[][] arrays.

    import stdio;

    char[][] colors = [ "red", "green", "blue" ];

    int main()
    {
     printf("%.*s\n", colors[0]);
     return 0;
    }
Dec 23 2001