Simple version - use objects(of structure or class) to store data.
Harder version - read the pointer position where you want your "bookmark" to be and store it somewhere. Use seekg to navigate there.
simple way -
*www.learn-programming.za.net/programming_cpp_learn09.html
harder -
read the file upto where you want the bookmark. use tellg and store the return value somewhere. when you want to go back to bookmark, use seekg(saved value)
*www.cppreference.com/
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.