You can define initial values for the elements of a static array by listing the initial values in parentheses following the list of element names in the DECLARE or ARRAY statements. Commas are ...
Your example will initialize element 100(which you don't actually have) to whatever the current value of count is + 1...it should be:<P>for (int count = 0; count < 100; count++)<BR>{<BR>num[count] = 0 ...
Dynamic arrays can be created and initialized in five ways: with the COPYARRAY function. See Using The COPYARRAY Function for more information. using simple assignment statements that copy the values ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results