I have a single file named "gmes.chs" which contains a list of other files that are games that have been played but not finished. When a player connects to another player the program opens "games.chs" and searches through it's lines for a key word phrase supplied by the program and if a match is found the program will prompt the player that he has an unfinished game and would you like to continue with this game. The player can respond with Yes or No. In either event I want to remove this entry from the "games.chs" file. How do I remove this line from the "games.chs" file?
↧