Guest User

Untitled

a guest
Dec 14th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <fstream>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. ifstream infile;
  7. ofstream outfile;
  8.  
  9. int main(void)
  10. begin // {
  11. try begin // {
  12. OpenFiles();
  13. end // }
  14. catch (char const *e) begin // {
  15. cout << "Error opening files: " << e << endl;
  16. end // }
  17.  
  18. infile.close();
  19. outfile.close();
  20.  
  21. return 0;
  22. end // }
Add Comment
Please, Sign In to add comment