Mail Archives: djgpp/1997/11/24/21:34:27
On 23 Nov 1997 03:05:10 -0500, Paul Derbyshire wrote:
>Because it's allocated at compile time in the data area of the .exe!
>
>If you allocate the array dynamically at run-time at the start of main()
>then you will have a reasonable .exe size and equivalent function.
That is the dumbest thing I have ever heard. You are allocating MEMORY here, not diskspace!
Regardless of if you allocate the array staticly or dynamically it should NOT use up diskspace!
Gili
- Raw text -