December 23, 2001 fresh bugs, only 0.99$, order today! | ||||
|---|---|---|---|---|
| ||||
Quite a weird one, makes the compiler crash:
import string;
int main()
{
char* lpstr = toCharz(string); // !!!
return 0;
}
| ||||
December 23, 2001 here's one more | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | 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;
}
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply