linked list in C++
<p>I am parsing a file with delimmitter " : " in the first line and after this I am storing the remaining lines in 2D array in structure. I am doing this process again and again until I find another line with " : ". The whole data of parsed and the next lines I am storing in a structure with pointer reference using C.</p>

<p>How to optimize this using C++?</p>
