title: Linked List of Linked List Implementation
body: <p>I recently looked at linked list for saving large amount of data. However I am stuck at coming up with a good way to save data for linked list of linked list.</p>
  
  <p>The following is a pseudo code of what I was trying to accomplish</p>
  
  <pre><code>struct Student
  {
      string Name;
  }
  
  struct Classroom
  {
      string Teacher;
      &lt;list&gt; Student *student;
  };
  
  
  struct School
  {
      string School_Name;
      &lt;list&gt; Classroom *room;
  };
  
  struct State
  {
       string State_Name;
       &lt;list&gt; School *school;
  };
  </code></pre>
  
  <p>I was wondering if this how you implement a linked list within a linked list. 
  So when I read through an XML file. I can assign multiple schools under one State, and multiple Classrooms to one School and so on.</p>