I didn’t understand quite well this program and I did it a little basic, cause you can only name your file «TextFile.txt» for the program to read it, but it works. I got the help of my friend again, her name is Bere, she’s really good at programming… and I used this video. I include the fstream library, the use of a struct and I created a function. Here’s the code: