feat: finishing the ex02 of the module 06
This commit is contained in:
parent
74058def09
commit
62a2eb5e90
7 changed files with 365 additions and 0 deletions
22
cpp06/ex02/includes/Base.hpp
Normal file
22
cpp06/ex02/includes/Base.hpp
Normal 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;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue