943,381 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2669
  • C RSS
Jul 16th, 2004
1

Derived class problem

Expand Post »
I want to have a class LIST -- a dinamic list of rational numbers (defined previously in my RATIONAL class). I want another class STACK to inherit LIST's root and end pointers for my list.(STACK also is dinamical) Please help because it says that STACK cannot access the root and end pointers.

PS:ROOT and END are of the type NOD* where
struct NOD
{
rational data;
NOD* next;
};
:evil: :cry:
Similar Threads
Reputation Points: 16
Solved Threads: 0
Light Poster
Fili is offline Offline
34 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: i want a program which displays leap year
Next Thread in C Forum Timeline: Modem and ports programming





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC