Monday, July 27, 2009

How to Delete a Record from a file using C++?

Can u get me sample code for deleting,reading and writing employee details using c++.


I tried to read and write but dont know where the file is saved.


I checked in ..\tc\bin and also in the current directory where the source code lies. Its giving the answers to whichever file name i give in fstream(sometimes).

How to Delete a Record from a file using C++?
I'm not sure I understand your question. Are you deleting, reading, and writing employee details to one file or many files?

tropical flowers

No comments:

Post a Comment