#include #include #include using namespace std; int main() { char x, y; fstream fin, fout; fin.open("c:\\Cinderella.txt", ios::in); fout.open("c:\\CinUpper.txt", ios::out); while( (x = fin.get()) != EOF) { y = toupper(x); fout << y; } return EXIT_SUCCESS; }