User Profile
Collapse
-
Hi again
I tryed the seekp but i still have a problem.When i try to put a record to the file it puts it to the begining of it.At first i thought that the seekp didn't work but when i used tellp() to check it out i saw that the pointer was where i told it to be.So,i must be doing something wrong with the way i insert the record to the file.
Here is my code
myfile.open("Fi le.dat",ios::ou t | ios::app);...Leave a comment:
-
-
File Help
Hello everyone...
I am new in this forum so please forgive me if i'm doing this wrong.
Lets get to the problem now.I am trying to read a file and put data in a specific record,witch means that i should propably move the pointer of my file to the record that i want and then write the data that i want.The problem is that i don't know how to do that.I've just started learning c++ and so far i've been searching the net to...
No activity results to display
Show More
Leave a comment: