26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Cat.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/01/30 13:32:43 by rparodi #+# #+# */
|
|
/* Updated: 2025/01/31 19:54:03 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "Cat.hpp"
|
|
|
|
Cat::Cat() {
|
|
std::cout << "[Cat]\t\tCreating the class" << std::endl;
|
|
type = "Cat";
|
|
}
|
|
|
|
Cat::~Cat() {
|
|
std::cout << "[Cat]\t\tDeleting the class" << std::endl;
|
|
}
|
|
|
|
void Cat::makeSound() const {
|
|
std::cout << "🐱 | Meow Meow" << std::endl;
|
|
}
|