Add Brain class and use it in Cat and Dog
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 25 Oct 2024 08:01:50 +0000 (10:01 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 25 Oct 2024 08:01:50 +0000 (10:01 +0200)
commite2fa7dc5780ab8ff6e331a2a8aba4548b2a113bd
treeaa3404299bc3cf0065a5e25f8f4ca6f7d42f1a8f
parent7b7afe110d64d31668632f1bd3c4ba24b544eced
Add Brain class and use it in Cat and Dog

This is an exercise in ownership handling, so Dog and Cat contain a
pointer to Brain that they have to correctly manage.
ex01/Brain.cpp [new file with mode: 0644]
ex01/Brain.h [new file with mode: 0644]
ex01/Cat.cpp
ex01/Cat.h
ex01/Dog.cpp
ex01/Dog.h
ex01/Makefile