0

operator overloading c++

I have a class "String". int main() { String *s1=new char[]; String *s2=new char[]; ...} I have to do overloading for "=" operator which will copy s1 to s2. I don't understant how to do it. Please help me! Preferably as simple as possible because I'm the beginner

8th May 2019, 7:38 AM
Anna Shevchenko
Anna Shevchenko - avatar
0 Answers