I want to know how to overload the operator [] or = so i can change the values in a linked list like in the vector class, for example.
LinkedList list;
list[0] = 2;
I want to know how to overload the operator [] or = so i can change the values in a linked list like in the vector class, for example.
LinkedList list;
list[0] = 2;