diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-08-18 01:56:52 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-08-18 01:56:52 -0500 |
| commit | 49d4392ca1972c8d66b1015f2cdda414d94812b8 (patch) | |
| tree | 13585bcb546d97b96ec669457c06fc27f2d66ab7 /2022-2/L03/AperturaDeArchivos.h | |
| parent | d6e56dbe184cac37d7aa5cebe3e1db108dee4a28 (diff) | |
| download | LP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.tar.gz LP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.tar.bz2 LP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.zip | |
Fix naming. Add leading 0 to lab names
Diffstat (limited to '2022-2/L03/AperturaDeArchivos.h')
| -rw-r--r-- | 2022-2/L03/AperturaDeArchivos.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/2022-2/L03/AperturaDeArchivos.h b/2022-2/L03/AperturaDeArchivos.h new file mode 100644 index 0000000..0c28d02 --- /dev/null +++ b/2022-2/L03/AperturaDeArchivos.h @@ -0,0 +1,29 @@ +/* + * Proyecto: AperturaDeArchivos + * Archivo: AperturaDeArchivos.h + * Autor: J. Miguel Guanira E. + * + * Created on 26 de abril de 2022, 07:08 PM + */ + +#ifndef APERTURADEARCHIVOS_H +#define APERTURADEARCHIVOS_H +#include <iostream> +#include <fstream> +#include <iomanip> +using namespace std; + +// Funciones para abrir un archivo y verificar su apertura + +// ******************************************************** +// LA VARIABLE DE ARCHIVO NO DEBE INVOCAR AL CONSTUCTOR +// ******************************************************** + +void AperturaDeUnArchivoDeTextosParaLeer(ifstream &archivo, + const char*nombreDelArchivo); + +void AperturaDeUnArchivoDeTextosParaEscribir(ofstream &archivo, + const char*nombreDelArchivo); + +#endif /* APERTURADEARCHIVOS_H */ + |
