「✨」 feat(Ex01): Finished
This commit is contained in:
@ -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!
|
||||
|
Reference in New Issue
Block a user