/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ex01.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 09:35:26 by charles #+# #+# */ /* Updated: 2020/04/13 09:36:03 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include void memoryLeak() { std::string* panthere = new std::string("String panthere"); std::cout << *panthere << std::endl; delete panthere; }