I/O from file

I'm attempting to input a line of text from file (7 words / 2 numbers). Once input, I need to capitalize all the letters (maintaining spacing) and output it to another file. I've searched the net, but have found so many different solutions that are complicated. Does anyone know an easy/repeatable approach to this? Any help would be greatly appreciated.

Thank you.
Use <fstream> to get things to and from files.
<string> would also be useful for storing the data.
To capitalize letters, use toupper ( ).

All the information on these can be found in the reference section to the left.
Topic archived. No new replies allowed.