| | |
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 |
#include adobe ansi api array asterisks binarysearch changingto char character cm copyimagefile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax database directory dynamic execv feet fgets file fork forloop frequency function getlasterror givemetehcodez global grade graphics gtkgcurlcompiling hacking hardware highest histogram i/o include incrementoperators infiniteloop input interest kernel keyboard kilometer license linked linkedlist linux linuxsegmentationfault list locate logical_drives looping loopinsideloop. lowest match matrix meter microsoft motherboard mqqueue mysql number odf opensource owf pattern pdf performance pointer posix probleminc process program programming radix recursion recv repetition research reversing scanf segmentationfault sequential shape socket socketprograming standard string systemcall threads turboc unix user voidmain() wab windows.h windowsapi





