data member of base class but not of derive class..why?
but D is derived from B...i is in public part then why this
Re: data member of base class but not of derive class..why?
How can we debug code that you don't post?
You're right though: it SHOULD work. So we need to see the code to find the problem.
Try to cut B and D down to the least possible (ideally just the i definition).
|All times are GMT +5.5. The time now is 22:35.|