Dear Sir, at 24:32 in the Copy constructor, may you please clarify how the private members of the Complex object c (i.e., c.re_ and c.im_) can be directly accessed? I mean aren't the private members only accessible through methods. Here, I understand that 'c' is a different object, although of the same Complex class type. Thanks in Advance!
Best course on C++ so far
sharlock holmes like mind after in this concept
just scrolled down to look if someone has commented about this.
Dear Sir,
at 24:32 in the Copy constructor, may you please clarify how the private members of the Complex object c (i.e., c.re_ and c.im_) can be directly accessed? I mean aren't the private members only accessible through methods. Here, I understand that 'c' is a different object, although of the same Complex class type.
Thanks in Advance!
🔥