I hope that u have allocated sufficient memory to inputAmt using malloc before copying
data to it. And dont forget to free it later when the need is over.
Type: Posts; User: eecoder
I hope that u have allocated sufficient memory to inputAmt using malloc before copying
data to it. And dont forget to free it later when the need is over.
yes it is replacement, but you could have written some junk data at the place where you have to write later. If you know the length of string you have to write later.
There is one way in which you can insert the text in between. You can initaly write some fake taxt at the place where you want to write, this mite not be usefull always, as u may not always be able...
ok, and thank you all.
Does cpp support insertion and deletion of lines or text??
Hi all,
I have a simple file I/O query. I have opened a new file for writing, I write it to some point then decide to go back to a particular point and write there again.
What I am doing is that I...