From 9f9bc96b254e71d393cff72c1c4b4856342b042c Mon Sep 17 00:00:00 2001 From: e2hang <2099307493@qq.com> Date: Sat, 19 Jul 2025 10:00:04 +0100 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20LinearList/main.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LinearList/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]