Fenglou Mao wrote:
> static float array[10000000];
> ^^^^^^
IIRC, static applied to a global valiable means that the variable can be used
only in the current module. So static affects the scope of the variable, and
has nothing to do with memory allocation. `static int v[100]' is the same with
`int v[100]' in a single module program. If static is applied to a local
variable in a function, then the variable is preserved between different
calls.
In the matter of the init of the array, if the program loads then the array is
ok. (arrays generally exist within the program -
except if you use -fconserve-space wich is a different case)
Bye.
--
Send money to [EMAIL PROTECTED] and prayers to [EMAIL PROTECTED]
For the latest version of the Bible (currently 3.5.18) do a ftp
at ftp.heaven.com, username: religious_one, password: god_rules
And remember: God uses Linux2.