From 4f640ff86f266d433b187c9b2710a08f92ec4b55 Mon Sep 17 00:00:00 2001 From: Leo Firmin Date: Thu, 18 Dec 2025 02:07:03 +0100 Subject: [PATCH] finals1 --- .vscode/settings.json | 48 ------------------------------------------- ex02/Hello_shrubbery | 9 -------- ex03/Hello_shrubbery | 9 -------- ex03/Main.cpp | 5 ++++- 4 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 .vscode/settings.json delete mode 100644 ex02/Hello_shrubbery delete mode 100644 ex03/Hello_shrubbery diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 2f50595..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "files.associations": { - "array": "cpp", - "atomic": "cpp", - "bit": "cpp", - "cctype": "cpp", - "clocale": "cpp", - "cmath": "cpp", - "compare": "cpp", - "concepts": "cpp", - "cstdarg": "cpp", - "cstddef": "cpp", - "cstdint": "cpp", - "cstdio": "cpp", - "cstdlib": "cpp", - "cwchar": "cpp", - "cwctype": "cpp", - "deque": "cpp", - "string": "cpp", - "unordered_map": "cpp", - "vector": "cpp", - "exception": "cpp", - "algorithm": "cpp", - "functional": "cpp", - "iterator": "cpp", - "memory": "cpp", - "memory_resource": "cpp", - "numeric": "cpp", - "random": "cpp", - "string_view": "cpp", - "system_error": "cpp", - "tuple": "cpp", - "type_traits": "cpp", - "utility": "cpp", - "fstream": "cpp", - "initializer_list": "cpp", - "iosfwd": "cpp", - "iostream": "cpp", - "istream": "cpp", - "limits": "cpp", - "new": "cpp", - "numbers": "cpp", - "ostream": "cpp", - "stdexcept": "cpp", - "streambuf": "cpp", - "typeinfo": "cpp" - } -} diff --git a/ex02/Hello_shrubbery b/ex02/Hello_shrubbery deleted file mode 100644 index 082d0cc..0000000 --- a/ex02/Hello_shrubbery +++ /dev/null @@ -1,9 +0,0 @@ - _-_ - /~~ ~~\ - /~~ ~~\ -{ } - \ _- -_ / - ~ \\ // ~ -_- - | | _- _ - _ - | | -_ - // \\ diff --git a/ex03/Hello_shrubbery b/ex03/Hello_shrubbery deleted file mode 100644 index 082d0cc..0000000 --- a/ex03/Hello_shrubbery +++ /dev/null @@ -1,9 +0,0 @@ - _-_ - /~~ ~~\ - /~~ ~~\ -{ } - \ _- -_ / - ~ \\ // ~ -_- - | | _- _ - _ - | | -_ - // \\ diff --git a/ex03/Main.cpp b/ex03/Main.cpp index 6df2063..41a2061 100644 --- a/ex03/Main.cpp +++ b/ex03/Main.cpp @@ -46,10 +46,13 @@ int main(void) Intern intern; AForm *roboto; - roboto = intern.makeForm("DoYouKnowMe", "Hmmmm"); + roboto = intern.makeForm("T'as capte", "bro"); roboto = intern.makeForm("RobotomyRequestForm", "World"); std::cout << roboto->getName() << std::endl; + Bureaucrat Mr_test("Mr_test", 1); + Mr_test.signForm(*roboto); + Mr_test.executeForm(*roboto); delete roboto; return (0); }