View Single Post
Join Date: Jul 2008
Posts: 338
Reputation: cikara21 is an unknown quantity at this point 
Solved Threads: 66
cikara21's Avatar
cikara21 cikara21 is offline Offline
Posting Whiz

Re: Linked List of struct

 
0
  #4
Nov 21st, 2008
  1. struct Event
  2. {
  3. void addEvent();
  4.  
  5. tm startTime, endTime;
  6. string eventItem;
  7. string eventNotes;
  8. char allDay;
  9. nodePtr *head, *tail; //-- a pointer!, maybe...
  10.  
  11. };
  12.  
  13.  
  14. struct Node
  15. {
  16. Event *eventNode; //-- a pointer!, maybe.
  17. Node *next;
  18. };
  19.  
  20. typedef Node* nodePtr;
.:-cikara21-:.
Reply With Quote