Generation

generate functionMon, 24 Apr 2023

codigo para escribir en pantalla algo de un fichero

#include <iostream> #include <fstream> int main () { std::ofstream file; file.open ("example.txt"); file << "Writing this to a file.\n"; file.close(); return 0; }

Want to kickstart your project?Use the new AI Studio to create your code