

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Code to create TXT files using a c++ program
Typology: Exercises
1 / 3
This page cannot be seen from the preview
Don't miss anything!
UPMH ING. AERONÁUTICA
Mtro. Daniel Ramírez
DESCRIPCION DEL CODIGO En este codigo, hemos ocupado una nueva libreria llamada fstream, y su funcion es permitir abrir, cerrar y guardar archivos. Este programa permite crear un nuevo archivo de extension .txt y colocar texto en su contenido, asi como asignar su ubicación, en este caso se encontrara en la misma carpeta que el archivo del codigo, pero sin embargo se puede asignar a otra ubicación diferente que deseemos. Por ultimo se cierra el archivo para guardar los cambios. GALERIA GRAFICA