hi,
i am looking for a site where i can find good programming problems to help me prepare for job interviews.Any help???
-- if u know of some site offering programming contests kindly let me know.thanking in advance:)
-- neo
hi,
have u opened it in the binary mode??.i donno much abt zip files structure,but that can be a reason,if u r opening a binary file in ascii mode.hop this helps.correct me if i am wrong.bye
-- neo13
hi Tyler,
yes,when writing to a file,deletion of records is a problem,since u cannot "NULLIFY" a part of the file(like the record in your case).so when u "delete" a record in ur file,u can not remove it unless u move the following data in the file.however such data...
hi Tyler,
for deletions etc,i suggest u open the file with r+b mode.then for changing the i'th record(say), u use the fseek function to make the file pointer point to the desired record.Then u can write the desired rec there with fwrite.For making the ptr point to the i'th rec, u can use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.