I am having a bit of trouble with a little java project that you can hopefully help me with.
The basic idea is to have a vector with 4 elements, each element is a number. I wish to update the vector with new numbers but I do not wish to change the element order.
For example I have the value 2 at element 0, I wish to add 2 to this, making the element at 0 now 4.
I have been searching around and cant seem to find out how to do this, any suggestions?
Thanks in advance, Robert.