V
vishwesha.guttal
Hi,
I am having troble declaring a const array. If the array size is
small, then one can do as follows:
const double array[5] = {1, 2, 3, 4, 5};
What if I have an array of size say 1000 or 10000 which, lets say, I
am reading from a data file? Then manually entering the values is
impossible. So how do I declare such a constant array?
thanks..
Vishwesha
I am having troble declaring a const array. If the array size is
small, then one can do as follows:
const double array[5] = {1, 2, 3, 4, 5};
What if I have an array of size say 1000 or 10000 which, lets say, I
am reading from a data file? Then manually entering the values is
impossible. So how do I declare such a constant array?
thanks..
Vishwesha