diff options
| author | Mitsuo Tokumori <[email protected]> | 2022-09-16 11:40:55 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2022-09-16 11:40:55 -0500 |
| commit | 284d22c719384119839ebae59311ce90a9dea9eb (patch) | |
| tree | a83e93c22f5510f4b1c5a56cbb8019efcc3e39cf /2022-2/L3/AperturaDeArchivos.h | |
| parent | ab2a6f0d76b42df324a46fe3a4d1d4e489bac490 (diff) | |
| download | LP1-284d22c719384119839ebae59311ce90a9dea9eb.tar.gz LP1-284d22c719384119839ebae59311ce90a9dea9eb.tar.bz2 LP1-284d22c719384119839ebae59311ce90a9dea9eb.zip | |
Add enunciado L3 2022-2
Diffstat (limited to '2022-2/L3/AperturaDeArchivos.h')
| -rw-r--r-- | 2022-2/L3/AperturaDeArchivos.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/2022-2/L3/AperturaDeArchivos.h b/2022-2/L3/AperturaDeArchivos.h new file mode 100644 index 0000000..0c28d02 --- /dev/null +++ b/2022-2/L3/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 */ + |
