aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex05/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex05/main.cpp')
-rw-r--r--cpp01/ex05/main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/cpp01/ex05/main.cpp b/cpp01/ex05/main.cpp
new file mode 100644
index 0000000..584320a
--- /dev/null
+++ b/cpp01/ex05/main.cpp
@@ -0,0 +1,21 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* main.cpp :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/02 12:57:25 by cacharle #+# #+# */
+/* Updated: 2020/02/02 16:27:47 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+# include "Brain.hpp"
+# include "Human.hpp"
+
+int main()
+{
+ Human bob;
+ std::cout << bob.identify() << std::endl;
+ std::cout << bob.getBrain().identify() << std::endl;
+}