Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Creting TXT files on C++, Exercises of Programming Languages

Code to create TXT files using a c++ program

Typology: Exercises

2018/2019

Uploaded on 08/14/2021

axel-rush
axel-rush 🇺🇸

1 document

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
EJERCICIO DE
PROGRAMACIÓN:
CREAR ARCHIVOS TXT
CRISTIAN AXEL SANCHEZ HUERTA
MATRICULA:193111317
UPMH ING. AERONÁUTICA
Lógica de
Programación
Mtro. Daniel Ramírez
pf3

Partial preview of the text

Download Creting TXT files on C++ and more Exercises Programming Languages in PDF only on Docsity!

EJERCICIO DE

PROGRAMACIÓN:

CREAR ARCHIVOS TXT

CRISTIAN AXEL SANCHEZ HUERTA

MATRICULA:

UPMH ING. AERONÁUTICA

Lógica de

Programación

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