diff options
| author | Mitsuo Tokumori <[email protected]> | 2022-12-04 23:13:28 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2022-12-04 23:13:28 -0500 |
| commit | 8e01ba134a230e47e8b80351dd8abc8c3b72e683 (patch) | |
| tree | 3f0e174c80cc4a6e4a2aa2b5351f4dad66b49d89 /2022-2/L10/mitsuo/main.cpp | |
| parent | ce58d6504665422a0817cf0ddb38fc533d0de33e (diff) | |
| download | LP1-8e01ba134a230e47e8b80351dd8abc8c3b72e683.tar.gz LP1-8e01ba134a230e47e8b80351dd8abc8c3b72e683.tar.bz2 LP1-8e01ba134a230e47e8b80351dd8abc8c3b72e683.zip | |
Add my solution for L10
Diffstat (limited to '2022-2/L10/mitsuo/main.cpp')
| -rw-r--r-- | 2022-2/L10/mitsuo/main.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/2022-2/L10/mitsuo/main.cpp b/2022-2/L10/mitsuo/main.cpp new file mode 100644 index 0000000..d79692f --- /dev/null +++ b/2022-2/L10/mitsuo/main.cpp @@ -0,0 +1,34 @@ +/* + * File: main.cpp + * Author: Mitsuo Tokumori - 20170895 + * timestamps: + * - 12:30 start + * - 12:45 classes + * - 13:00 basic I/O (lee and imprime Medicamento) + * - 13:08 polymorphism (lee and imprime in derived classes) + * - 13:15 friend class Arbol (for Nodo) (had issue with friend and "forward declaration error") + * - 13:38 BST (insert and traverse) (preg1 done) + * - 13:43 add headers in imprime() + * - 14:10 actualiza() (issue with EOF bit set after rewind with seekg()) (preg2 done) + * totaltime: 1h 40m + * Created on 02 December 2022, 12:28 + */ + +#include <cstdlib> +#include <iostream> +#include "Almacen.h" + +using namespace std; + +/* + * + */ +int main(int argc, char** argv) { + Almacen alma; + + alma.carga(); + alma.actualiza(); // (preg 2) + alma.imprime(); + return 0; +} + |
