Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <fstream>
- #include <iostream>
- using namespace std;
- int
- main(int argc, char *argv[])
- {
- fstream gentlemen;
- gentlemen.open("C:\\woot.txt", fstream::in | fstream::out | fstream::app);
- gentlemen << "hello";
- gentlemen.close();
- return EXIT_SUCCESS;
- }
Add Comment
Please, Sign In to add comment