title: C++ lists and pointers
body: <p>I am working on homework and wanted to know what this is actually defined as:</p>
  
  <pre><code>list &lt; NAME &gt; * m_ofList
  </code></pre>
  
  <p>Where name comes from a <code>struct</code> like so:</p>
  
  <pre><code>typedef struct name
  {
      int age;
      int height;
  } NAME;
  </code></pre>
  
  <p>I want to know what it is so I know how to insert to it or access it: <code>push_back</code>, <code>insert</code>, <em>etc</em>.</p>
  
  <p>So I understand this now, but I am stuck because of some type of memory access: it produces a segmentation fault and I have been unable to figure this out.
  Where do I need to initialize my new list? it doesn't work in constructor or in the functions. Just FYI, it is a private list so it can only be used for member functions (i.e. m_ofList). I can produce code if anyone would like to help...</p>