delete line from txt file

Jun 5 2010 3:41 PM
im using borland builder c++
i got a txt file,each line has got a username and password separated with a space.i read these and insert them into a listbox
i select an item from listbox and take that string as it is
the problem is how can i delete specific selected listbox item(username password) from file

Answers (1)