c++ - Going back to a previous line in a .txt file -
i've read numerous articles on how read specific line .txt file, none of them need. i'm creating simple parser sort of "programming language" , want include "label" system. thing is, though, in order go specific label, may have go or forwards in text file. how go specific line in .txt file? there way can return original line afterwards? thanx in advance.
the best can try random access of files move position of file.
refer : http://www.learncpp.com/cpp-tutorial/137-random-file-io/
Comments
Post a Comment