c++ - How can i delete data store in a file? -


delete specific data present in file.what ever user want delete deleted file in c++

suppose file contain 5 6 9 10 numbers

i want delete 9 number present in file

please give code if 1 know.

first read file, , overwrite data read. while overwriting, make sure don't write "specific" data want delete. way you'll have file wouldn't contain "specific" data anymore!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -