Okay, so I have this code, and i need to modify if so that input file will be reversed in the output file... I thought about adding a string, but i don't know how. It's the first time i'm working with input/output file, or better, the first time i'm working with fstream!
To be clear, if in my input file is "hello world", the output should be "dlrow olleh". Sorry for my english, and thank you.