title: Nested class and constructor calling understanding
body: <p>I'm currently having an assignment, in which i need to create a DATABASE class,<br>
  which contains a <strong>employees pointers array</strong>, and <strong>private inner class</strong>,<br>
  that defines <strong>employees linked list</strong></p>
  
  <p>the goal to accomplish here, according to the assignment, is working acording<br>
  to a <strong>DB_TYPE</strong> defined constant.</p>
  
  <p>when <strong>DB_TYPE = 0</strong> i need my class methods to work with the <strong>employees pointers array</strong>,<br>
  when <strong>DB_TYPE = 1</strong> i need my class methods to work with the <strong>employees linked list</strong>.</p>
  
  <p>Therefore, i need two things:<br>
  <strong>1. Understanding constructor calling -</strong><br>
  When i construct a new DATABASE object, for example with no paramaters,<br>
  the default constructor is called.<br>
  How do i call the <strong>linked list</strong> inner constructor to construct a Node, from the constructor itself?</p>
  
  <p><strong>2. Working according to the DB_TYPE constant -</strong><br>
  I Suppose that's less of a trouble, as i can set my methods to work with<br>
  two cases\or with 'if' conditions regarding each value of DB_TYPE.<br>
  but if that's not that simple, i'll be glad to get some advise\help on how to do so.</p>
  
  <p>EDIT:
  My Current code:</p>
  
  <pre><code>    class DataBase {
      public:
      DataBase();
  
      private:
          Employee ** empArr; /*!&lt; Employees pointers array */
          unsigned int empCount;
          Node head;
  
      class Node{
      public:
          Node();  
          Node(Employee * emp, Node * next);
  
      private:
          Employee * emp; /*!&lt; Employee Pointer */
          Node * next; /*!&lt; The next node (containing the next employee) */
  
      };
      };
  </code></pre>
  
  <p>Thanks,<br>
  Adiel</p>