I need to make a class called myArray that can start from any index, including negative numbers. Basicly solving the array index out of bounds problem, and i was wondering if i can get ideas on how to even start this. I can do the basic stuff like printing the array out and overloading but i'm not sure on how to start making the class functional.
so if I'm understanding correctly the code you posted saves a number to the array index? is that correct? if so that was my biggest problem to solve and you've made this much less stressful