Skip to content

Instantly share code, notes, and snippets.

/main.cpp

Created Nov 5, 2015
Embed
What would you like to do?
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
ofstream file;
file.open("/tmp/example.txt");
file << "YEA";
file.close();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment