is it possible to use the getline() function to skip a word and get the data after the word? I am wanting to make a program that reads from a formatted .txt file and then when done with the file, append the new data to the same formatted .txt file.
here is an example of the txt file...
As you can see, i want the data to the right of the colon of each line. How would I read the file to where I could skip the Entry" " part of the line, and then use getline() to read the data?Code:EntryNumber: 1 EntryName: JOE SOMEBODY EntryHPhone: 111-1111 EntryCPhone: 222-2222 EntryAdress: 1234 Somewhere St.