Skip to content

Instantly share code, notes, and snippets.

@sineemore
Last active September 24, 2021 14:04
Show Gist options
  • Save sineemore/243a067ca8e7ccce27af50bb461e38d0 to your computer and use it in GitHub Desktop.
Save sineemore/243a067ca8e7ccce27af50bb461e38d0 to your computer and use it in GitHub Desktop.
pewpew.csv
// basic file operations
#include <iostream>
#include <fstream>
using namespace std;
int main () {
ofstream myfile;
myfile.open ("example.txt");
myfile << "Writing this to a file.\n";
myfile.close();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment