Could someone answer my questions on this LL Header?
Posted on 2001-06-20
I was hoping someone could answer my questions I posted for this LL header file.
I am not sure what this struct NodeType is for and why do you need it?
I am not sure what this line is doing?
typedef NodeType *NodePtr;
NodePtr link; Is link a pointer?
bool Isempty() const;//Checks to see if Node is empty
void InsertAfter(int num);//Inserts the correct node value
void Delete(int num);//Deletes the correct Node value
void Print(ostream& Outfile) const;//Outputs the correct output
void Print1(ostream& Outfile) const;//Outputs the correct output
//private members of the class List.
NodePtr head; I guess these are all pointers?
What exactly are the nodes?