title: Read input from a .csv file of a linked list
body: <p>Im new with the knowledge of reading input from a file so i have no idea where i was wrong 
  This is pretty much the code :</p>
  
  <pre><code>Reservation* res = new Reservation();    
  ifstream fin("data.csv");
                  while(!fin.eof()) {
                      fin &gt;&gt; res-&gt;ID;
                      fin.get();
                      fin.getline &gt;&gt; res-&gt;name;
                      fin.getline &gt;&gt; res-&gt;phone;
                      fin &gt;&gt; res-&gt;gridironID;
                      fin.get();
                      fin.getline &gt;&gt; res-&gt;hireDate;
                      fin.getline &gt;&gt; res-&gt;resDate;
                      fin.getline &gt;&gt; res-&gt;startTime;
                      fin.getline &gt;&gt; res-&gt;endTime;
                      fin &gt;&gt; res-&gt;isPay;
                      fin.get();
                      res-&gt;nextReservation = reservationHeader;
                      reservationHeader = res;
                  }
                  fin.close();
              }
  </code></pre>
  
  <p>mine struct :</p>
  
  <pre><code>    struct Reservation
      {
  int ID;
  char name[MAX_NAME_LENGTH];
  char phone[MAX_PHONE_LENGTH];
  int gridironID;
  char hireDate[MAX_DATE_LENGTH];
  char resDate[MAX_DATE_LENGTH];
  char startTime[MAX_TIME_LENGTH];
  char endTime[MAX_TIME_LENGTH];
  bool isPay;
  Reservation *nextReservation;
      };
  </code></pre>
  
  <p>this is a example of the data.csv file :</p>
  
  <pre><code>100001,khang,01283478233,1,1,1,1,1,1
  100002,Christina,01283478233,1,1,1,1,1,1
  100003,GuanYung,01283478233,1,1,1,1,1,1
  100004,kevin,01283478233,1,1,1,1,1,1
  100005,minh,01283478233,1,1,1,1,1,1
  </code></pre>
  
  <p>And the errors i keep getting are :</p>
  
  <pre><code>Error   10  error C2297: '&gt;&gt;' : illegal, right operand has type 'char [12]' 
  Error   13  error C2297: '&gt;&gt;' : illegal, right operand has type 'char [12]' 
  Error   5   error C2297: '&gt;&gt;' : illegal, right operand has type 'char [15]' 
  //....(this pretty much the same for the other lines)
  Error   1   error C3867: 'std::basic_istream&lt;char,std::char_traits&lt;char&gt;&gt;::getline': function call missing argument list; use '&amp;std::basic_istream&lt;char,std::char_traits&lt;char&gt;&gt;::getline' to create a pointer to member
  //...
  </code></pre>
  
  <p>Please help me in any ways possible :(</p>