1
0

」 feat(Ex01): Finished

This commit is contained in:
2024-12-06 16:06:57 +01:00
parent c80c06d354
commit 0682096484
28 changed files with 603 additions and 29 deletions

View File

@ -6,14 +6,13 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/30 16:21:28 by adjoly #+# #+# */
/* Updated: 2024/12/04 13:56:06 by adjoly ### ########.fr */
/* Updated: 2024/12/06 16:02:36 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "WrongAnimal.hpp"
#include "cat.hpp"
#include "dog.hpp"
#include <iostream>
#include "Cat.hpp"
#include "Dog.hpp"
int main() {
{
@ -21,7 +20,6 @@ int main() {
const Animal* dog = new Dog();
const Animal* cat = new Cat();
log("", "Animal/Cat", "Type", cat->getType());
log("", "Animal/Dog", "Type", dog->getType());
cat->makeSound(); //will output the cat sound!