title: Strtok(): Tokenizing string
body: <p>I keep getting an error that says "No matching function for call to 'strtok'". I'm not very good at coding and am confused D: </p>
  
  <p>Example of line from file I'm reading from:
  Wilco   Wilco   2009    Nonesuch Records    11  58  Rock</p>
  
  <pre><code>int find_oldest_album(Album **&amp; albums, int num_of_albums){
      string line;
      ifstream fin;
      fin.open("/Users/ms/Desktop/albums.txt");
      while (!fin.eof())
      {
          getline(fin, line, '\n');
          char * artist_name;
          char artist_name = strtok(line, '\t');
          char * title_name;
          title_name = strtok(NULL, '\t');
          char  * release_year;
          release_year = strtok(NULL, '\t');
      }
  
  
      fin.close();
  }
  </code></pre>