Guest User

Untitled

a guest
Jun 17th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <windows.h>
  2.  
  3. #include <stdlib.h>
  4. #include <stdio.h>
  5.  
  6. #include <fstream>
  7. #include <iostream>
  8.  
  9. using namespace std;
  10.  
  11. int
  12. main(int argc, char *argv[])
  13. {
  14. fstream gentlemen;
  15.  
  16. gentlemen.open("C:\\woot.txt", fstream::in | fstream::out | fstream::app);
  17. gentlemen << "hello";
  18. gentlemen.close();
  19.  
  20. return EXIT_SUCCESS;
  21. }
Add Comment
Please, Sign In to add comment