From 790209ecd0fc2315ce80f5697cabb20921fe3e4f Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Wed, 2 Dec 2020 17:55:35 -0500 Subject: Update Vector.h --- Operator_overloading/Vector/Vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Operator_overloading') diff --git a/Operator_overloading/Vector/Vector.h b/Operator_overloading/Vector/Vector.h index b8dbd20..9026d73 100644 --- a/Operator_overloading/Vector/Vector.h +++ b/Operator_overloading/Vector/Vector.h @@ -24,7 +24,7 @@ public: friend std::istream& operator>>(std::istream&, Vector& v); int GetAtIndex(int index) const; - int& operator[](int index);// оператор за индексиране(като в масивите) vector a; a[4] -взима четвъртия кординат на вектора + int& operator[](int index);// оператор за индексиране(като в масивите) vector a; a[4] -взима четвъртия координат на вектора void print(); }; -- cgit v1.3.1-23-gd82d