hi I am trying to read a specific line from a text file update that and put it back to the same line without affecting the other lines in c++