using <fstream>, how would I read only certain parts of a text file, and write to only certain parts? For example, if a file looked like this:
how would I get the program to display "welcome" in the console (or wherever) and ignore the tilde's? Pretty much just a text file with seperators that I want to access certain parts of.Code:~ hello ~ welcome ~ Hi %s
Any methods that someone would care to explain or provide a link to? Thank