diff --git a/LinearList/main.cpp b/LinearList/main.cpp index 6976fac..1b866e3 100644 --- a/LinearList/main.cpp +++ b/LinearList/main.cpp @@ -7,7 +7,7 @@ ok int capacity(); ok bool empty() const;//If empty, return 0; ok int size() const; //Return Array Size ok virtual T& get(int theIndex) const override; // Return Arr[theIndex] - virtual int indexOf(const T & theElement) const override; //Return the index of "theElement" first appeared +ok virtual int indexOf(const T & theElement) const override; //Return the index of "theElement" first appeared ok virtual void erase(int theIndex) override; //Erase Arr[theIndex] ok virtual T* changeLength(T * x, int oldlength, int newlength) override; ok virtual void insert(int theIndex, const T & theElement) override; //Insert theElement to place Arr[theIndex]