Reading a file that has 5 columns and each column is separated with colon
<p>How do I read a file that has 5 columns and each column is separated with colon?
I only need the data from the third column using C++. 
using of boost library is not allowed.</p>

<pre><code>title : author : price : date purchased : date sold
harry potter : j k rowling : 49.99 : 22-dec-2012 : 25-dec-2012
Fifty Shades of Grey : E. L. James : 59.90 : 1-jan-13 : 13-jan-13
</code></pre>
