feat: finishing the ex02 of the module 06

This commit is contained in:
Raphael 2025-03-26 14:06:49 +01:00
parent 74058def09
commit 62a2eb5e90
7 changed files with 365 additions and 0 deletions

View file

@ -0,0 +1,22 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Base.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/03/26 12:07:18 by rparodi #+# #+# */
/* Updated: 2025/03/26 12:44:36 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include <iostream>
class Base {
public:
virtual ~Base() {
std::cout << "Base destructor" << std::endl;
};
};