」 feat: finished ex02

This commit is contained in:
2025-04-09 14:06:06 +02:00
parent df7ffd0aeb
commit 2cca13a331
8 changed files with 357 additions and 0 deletions

12
ex02/main.cpp Normal file
View File

@ -0,0 +1,12 @@
#include "Base.hpp"
#include <iostream>
int main()
{
Base *base = generate();
std::cout << "pointer idendifer : ";
identify(base);
std::cout << "ref idendifer : ";
identify(*base);
delete base;
}