| | |
Derived class problem
![]() |
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:
PS:ROOT and END are of the type NOD* where
struct NOD
{
rational data;
NOD* next;
};
:evil: :cry:
![]() |
Similar Threads
- Copy constructor in derived class (C)
- Derived class (C++)
- Help with creating a derived class (C++)
- Easy Derived Class Question (Java)
- Help with derived class and arithmetic in C++ (C++)
- derived class (C)
- C++ derived class virtual functions (C++)
- loop and class problem (C++)
Other Threads in the C Forum
- Previous Thread: i want a program which displays leap year
- Next Thread: Modem and ports programming
| Thread Tools | Search this Thread |
adobe api array arrays binarysearch calculate char cm convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush file floatingpointvalidation fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators intmain() iso kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix microsoft motherboard mqqueue mysql oddnumber odf open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer posix power probleminc program programming pyramidusingturboccodes read recursion recv recvblocked repetition research scanf scheduling segmentationfault send shape socketprograming socketprogramming stack standard strchr string suggestions systemcall test unix urboc user variable voidmain() wab win32api windows.h





