summaryrefslogtreecommitdiffstats
path: root/2022-2/L10/mitsuo/main.cpp
blob: d79692fdf3e57777c055670fa03d3eced2509221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
}