Created
May 3, 2014 15:00
-
-
Save 1c7/15631350e08e80f39772 to your computer and use it in GitHub Desktop.
output_some_thing_to_file-1c7.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <fstream> | |
#include <iostream> | |
using namespace std; | |
int main(){ | |
cout << "hahahahahahahah" << endl; | |
ofstream fout("output.txt"); | |
fout << "nice" << endl; | |
fout << "good" << endl; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment