Am trying to edit and also delete data in my text file but am finding a little problem...i want to read the specific text and the program stops when it reaches an end of line and not eof..i tried using '\n' but maybe I used it wrong cuz it cant seem to work...lets say the file contains the following data
hello 33
welcome 89
thanks 56
i want to read "welcome 89" and change it to maybe "this 77"..also i want to delete something in the file say "thanks 35"...any help is appreciated