Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 2, 2022 01:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/336dd53a125a4c8cc4e58b0479d1e089 to your computer and use it in GitHub Desktop.
Save parzibyte/336dd53a125a4c8cc4e58b0479d1e089 to your computer and use it in GitHub Desktop.
// https://parzibyte.me/blog
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char const *argv[])
{
string nombre = "nombres.txt";
ofstream archivo;
archivo.open(nombre.c_str(), ios_base::app);
archivo << "Soy una linea que se adjunta cada que se ejecuta este programa\n";
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment