From 8e01ba134a230e47e8b80351dd8abc8c3b72e683 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sun, 4 Dec 2022 23:13:28 -0500 Subject: Add my solution for L10 --- 2022-2/L10/mitsuo/main.cpp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 2022-2/L10/mitsuo/main.cpp (limited to '2022-2/L10/mitsuo/main.cpp') 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 +#include +#include "Almacen.h" + +using namespace std; + +/* + * + */ +int main(int argc, char** argv) { + Almacen alma; + + alma.carga(); + alma.actualiza(); // (preg 2) + alma.imprime(); + return 0; +} + -- cgit v1.2.3