hello everyone, i am in need of serious help.
i using the turbo C++ 4.5
plz give me the code in turbo C++, not Visual or any others....
the problem is how to write a code to delete data inside the *.txt file....
this work only when user enter the data name then search inside
the file then delete it.............
the data in *.txt file with the following entries:
Country.................................................. .Capital
Malaysia.......................................... .........Kuala Lumpur
Japan............................................. ..........Tokyo
Thailand.......................................... .........Bangkok
how to delete the "Japan" so that the file will have the following pattern?
Country.................................................. .Capital
Malaysia.......................................... .........KualaLumpur
.................................................. ............Tokyo
Thailand.......................................... .........Bangkok
and how to delete the "Japan" and "Tokyo" so that the file will have the following pattern?
Country.................................................. .Capital
Malaysia.......................................... .........Kuala Lumpur
Thailand.......................................... .........Bangkok
Thanks for helping