-
-
Save parzibyte/336dd53a125a4c8cc4e58b0479d1e089 to your computer and use it in GitHub Desktop.
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
// 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