Lines from text file aren't assigning into two dimensional array properly
<p><img src="http://i.stack.imgur.com/9746P.png" alt="Debug screenshot"></p>

<p>I am creating two dimensional array of chars to write text from file line by line
As i read the file lines into the buffer it reads properly and i can see output in the console.
But despite the fact i am writing every line from file to info array, when i watch value of info[0] info[2] info[3]... etc i get the last line of file written in every of those.</p>

<p>Can someone, please, point me at a problem?</p>

<p>P.S. I know there is a better way to work with files in C++, but i am limited to fgets, fputs, fputc and other basic functions , as a part of programming course. </p>
