private: System::Void executeButton_Click(System::Object^ sender, System::EventArgs^ e) { ifstream myInfile ("ReadText.txt"); ofstream myOutfile ("SaveText.txt"); if (myInfile.is_open()) { do { char chOne; myInfile.get(chOne); // I want to manipulate the input here, which I'm unable to do using stream. myOutfile.put(chOne); } while (!myInfile.eof()); myInfile.close(); myOutfile.close(); Form1::~Form1(); } else { Form1::~Form1(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)