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
0 Answers