Parse through a text file, creating instance of new object c++
<p>I need to parse through a text file that contains something like :</p>

<pre><code>1|Song Title|Release date||"ignore me"|0|0|0|1|1|1|0|0|0|0|0|0|0|0|0|0|0|0|0
</code></pre>

<p>which is the song number, followed by the release date, followed by a website that I need to ignore, and followed by a series of 0's and 1's which could represent an vector of genres.</p>

<p>I need a way to separate this data, and ignore the one that say's the website while at the same time creating a new instance of a Song Object which has an : (int songNumber,string songTitle, vector* genres, string releaseDate)</p>

<p>Thanks!</p>
