From a5a197590e45494dc31f0d2fc8fb13194b3975c9 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 2 Feb 2020 18:05:01 +0100 Subject: cpp01 ex05 wip, ex06 --- cpp01/ex05/Human.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cpp01/ex05/Human.cpp (limited to 'cpp01/ex05/Human.cpp') diff --git a/cpp01/ex05/Human.cpp b/cpp01/ex05/Human.cpp new file mode 100644 index 0000000..4db0568 --- /dev/null +++ b/cpp01/ex05/Human.cpp @@ -0,0 +1,23 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* Human.cpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/02 12:52:38 by cacharle #+# #+# */ +/* Updated: 2020/02/02 13:08:39 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "Human.hpp" + +std::string Human::identify() +{ + return brain.identify(); +} + +const Brain& Human::getBrain() +{ + return brain; +} -- cgit