Splitting a `char[]` in C++
<p>I have a <code>char[]</code> in YYYYMMDDHHMMSS format.</p>

<p>e.g. 2011052504572</p>

<p>I want to retrieve the year, month, date, hour, minute and second from this char. How do I do that?</p>

<p>NOTE:I cant use any third party dll.</p>

<p>Thanks,
Syd</p>
