June 02, 2004 There is a bug here somewhere. | ||||
---|---|---|---|---|
| ||||
This compiles: int[2] x = 3; float y = 0.0f; void main(char[][] args) { printf("%d, %d\n", x[0], x[1]); y = -100; printf("%d, %d\n", x[0], x[1]); } output: 3, 0 3, -1027080192 I know the work-arounds to achieve correct behavior. Either I coded wrong or there is a bug or both. Thanks, Paul |
Copyright © 1999-2021 by the D Language Foundation