how to rewrite a new string to a specific location in a text file
<p>suppose I have a text file with this content: abcdefghk</p>

<p>I want to write a text at position index of 3 with a new text: xyz</p>

<p>In such a way that I will have a new text file: abcxyzghk</p>

<p>How can I achive this in native C++?</p>

<p>Thanks in advance.</p>
