...

closed account (4wpL6Up4)
...
Last edited on
Your 2nd while (!input.eof()) never executes, because the first while (!input.eof()) reached end of file.

Put your if / else if code inside the first loop instead.
closed account (4wpL6Up4)
...
Last edited on
You need ideas like
ofstream outupper("uppercase.txt");

and

outupper << data;
Great, another hit-and-run delete all the information poster.
Expect NO more help from me you selfish git.
Topic archived. No new replies allowed.