#ifndef PERSONA_H #define PERSONA_H #include #include #include #include class Persona { protected: long cedula; std::string nombre; tm fechaNacimiento; std::string correoElectronico; std::string direccion; std::vector telefono; public: Persona(long cedula, const std::string& nombre); std::ostream& imprimir(std::ostream& out) const { return out << cedula << ": " << nombre << ". Nacio el " << asctime( & fechaNacimiento ); } friend std::ostream& operator<<(std::ostream& out, const Persona& persona) { return persona.imprimir(out); } }; #endif // PERSONA_H