Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <fstream>
- #include <iostream>
- using namespace std;
- ifstream infile;
- ofstream outfile;
- int main(void)
- begin // {
- try begin // {
- OpenFiles();
- end // }
- catch (char const *e) begin // {
- cout << "Error opening files: " << e << endl;
- end // }
- infile.close();
- outfile.close();
- return 0;
- end // }
Add Comment
Please, Sign In to add comment