diff options
Diffstat (limited to '2022-2/L8/mitsuo/LAB08_PREG01/Medicamento.h')
| -rw-r--r-- | 2022-2/L8/mitsuo/LAB08_PREG01/Medicamento.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/2022-2/L8/mitsuo/LAB08_PREG01/Medicamento.h b/2022-2/L8/mitsuo/LAB08_PREG01/Medicamento.h deleted file mode 100644 index e31d151..0000000 --- a/2022-2/L8/mitsuo/LAB08_PREG01/Medicamento.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * File: Medicamento.h - * Author: mitsuo - * - * Created on 27 November 2022, 11:49 - */ - -#ifndef MEDICAMENTO_H -#define MEDICAMENTO_H - -class Medicamento { -public: - Medicamento(); - Medicamento(const Medicamento& orig); - virtual ~Medicamento(); - void SetCantidad(int cantidad); - int GetCantidad() const; - void SetNombre(const char* nombre); - char* GetNombre() const; - void SetCodigo(int codigo); - int GetCodigo() const; - -private: - int codigo; - char *nombre; - int cantidad; - double precio; - int fecha; -}; - -#endif /* MEDICAMENTO_H */ - |
