Hi,
I am making a program in which i need to append the file from the beginning. so i am opening the file like this
wFile.open("sat.txt",ios::ate| ios::out | ios::in);
moving the pointer to the beginning
wFile.seekp(0,ios_base::beg);
but when i try add data it is overwriting the data. Is there any way that it doesn't overwrite the data.
Thanks for the help