Hi, I was wondering if anyone can help me create a dynamic array.
I have to read some values into a file and some of these values will be repeated.
I want to know the total of each value.
Say I read the following values :
4,5,7,5,4,1,4
I thought of using a switch case but it wouldn't make sense to have a switch case for so many values in between 1 and 10,000.
Thanks a lot in advance for your time.