J
JamesG
Hi, I have a data structure as follows:
fig. 1: int[] array = {15829289595299, 23848108482942,
2842948284422, ...};
The numbers in the array might be 750 digits long.
Firstly, is this the best method of storing the numbers? or should I
do an array of arrays so each number has an array of chars?
Next, assuming the array in fig. 1, how would I append extra digits to
each array item? I dont want to += add a new digit to the total value,
but add it on the end.
Thanks in advance!
fig. 1: int[] array = {15829289595299, 23848108482942,
2842948284422, ...};
The numbers in the array might be 750 digits long.
Firstly, is this the best method of storing the numbers? or should I
do an array of arrays so each number has an array of chars?
Next, assuming the array in fig. 1, how would I append extra digits to
each array item? I dont want to += add a new digit to the total value,
but add it on the end.
Thanks in advance!