feat: finishing the ex00
This commit is contained in:
parent
a84ff7d969
commit
6d1cf25a57
7 changed files with 38 additions and 38 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* 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 */
|
||||
/* Updated: 2025/02/10 12:22:32 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -15,9 +15,11 @@
|
|||
Cat::Cat() {
|
||||
std::cout << "[Cat]\t\tCreating the class" << std::endl;
|
||||
type = "Cat";
|
||||
brain = new Brain();
|
||||
}
|
||||
|
||||
Cat::~Cat() {
|
||||
delete brain;
|
||||
std::cout << "[Cat]\t\tDeleting the class" << std::endl;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue