diff options
Diffstat (limited to 'cpp01/ex05/Brain.cpp')
| -rw-r--r-- | cpp01/ex05/Brain.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cpp01/ex05/Brain.cpp b/cpp01/ex05/Brain.cpp new file mode 100644 index 0000000..7ebf969 --- /dev/null +++ b/cpp01/ex05/Brain.cpp @@ -0,0 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* Brain.cpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/02 12:47:24 by cacharle #+# #+# */ +/* Updated: 2020/02/02 16:32:58 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "Brain.hpp" + +std::string Brain::identify() const +{ + std::stringstream ss; + ss << this; + return "0x" + ss.str(); +} |
