here's the problem.
i was given a test case v[0]=1.
in order to implement operator[],i need to get the access the value it is refering to which is 1.but im not sure how?
but is that right?and how am i suppose to write the signature?Code://initial test code
//replacing item at 0th to be 1
v[0]=1;
//so is it right if i'm assuming = as overload operator?
//wouldn't it makes the test case to be
v.operator[](index).operator=(value);
thanks in advance.