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/Marca.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 2022-2/L10/mitsuo/Marca.h (limited to '2022-2/L10/mitsuo/Marca.h') diff --git a/2022-2/L10/mitsuo/Marca.h b/2022-2/L10/mitsuo/Marca.h new file mode 100644 index 0000000..3eabb66 --- /dev/null +++ b/2022-2/L10/mitsuo/Marca.h @@ -0,0 +1,28 @@ +/* + * File: Marca.h + * Author: mitsuo + * + * Created on 02 December 2022, 12:36 + */ + +#ifndef MARCA_H +#define MARCA_H + +#include "Medicamento.h" + +class Marca : public Medicamento { +public: + Marca(); + Marca(const Marca& orig); + virtual ~Marca(); + + int lee(std::istream &input); + void imprime(std::ostream &output); + void actualiza(std::istream &input); +private: + int lote; + char * laboratorio; +}; + +#endif /* MARCA_H */ + -- cgit v1.2.3