From 49d4392ca1972c8d66b1015f2cdda414d94812b8 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Fri, 18 Aug 2023 01:56:52 -0500 Subject: Fix naming. Add leading 0 to lab names --- 2022-2/L08/mitsuo/LAB08_PREG01/ConReceta.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 2022-2/L08/mitsuo/LAB08_PREG01/ConReceta.h (limited to '2022-2/L08/mitsuo/LAB08_PREG01/ConReceta.h') diff --git a/2022-2/L08/mitsuo/LAB08_PREG01/ConReceta.h b/2022-2/L08/mitsuo/LAB08_PREG01/ConReceta.h new file mode 100644 index 0000000..f91eb83 --- /dev/null +++ b/2022-2/L08/mitsuo/LAB08_PREG01/ConReceta.h @@ -0,0 +1,30 @@ +/* + * File: ConReceta.h + * Author: mitsuo + * + * Created on 27 November 2022, 11:51 + */ + +#ifndef CONRECETA_H +#define CONRECETA_H + +#include +#include "Medicamento.h" + +class ConReceta : public Medicamento { +public: + ConReceta(); + ConReceta(const ConReceta& orig); + virtual ~ConReceta(); + void SetEspecialidad(const char* especialidad); + char* GetEspecialidad() const; + void SetCodmed(int codmed); + int GetCodmed() const; + void write(std::ostream &); +private: + int codmed; // medicoId + char *especialidad; // medicoEsp +}; + +#endif /* CONRECETA_H */ + -- cgit v1.2.3