[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: General programming questions list?




Drew,

> In C++, I have a base class and a derived class. I want to allow
> operator= to be overloaded properly for my derived class such that it
> can have the base class assigned to it. Do I need to define
> derivedClass::operator=() to copy all the members and set any new
> members to null? Can I somehow use the operator=() function from the
> base class to save time (especially since the base class isn't written
> by me)?

There is always USENET but also:

 * http://lists.linux.org.au/listinfo/linuxcprogramming/
 * http://lists.linux.org.au/listinfo/tuxcpprogramming/

Some out of data information can be found at:

 * http://www.rebel.net.au/~lloy0076/linux_c_programming/

One can ask fairly basic to advanced questions there.


DSL



Reply to: