Applied norminette syntax for visual enjoyment
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/05 16:46:34 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/06 01:23:34 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/09/14 13:48:22 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -30,4 +30,4 @@ Zombie::Zombie(std::string str)
|
||||
void Zombie::announce( void )
|
||||
{
|
||||
std::cout << this->name << ": BraiiiiiiinnnzzzZ..." << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/05 16:44:08 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/06 01:22:58 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/09/14 13:49:46 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -31,4 +31,4 @@ class Zombie
|
||||
Zombie* newZombie( std::string name );
|
||||
void randomChump( std::string name );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/05 17:04:19 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/06 01:19:33 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/09/14 13:48:16 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
|
||||
Zombie* newZombie( std::string name )
|
||||
{
|
||||
Zombie *z;
|
||||
Zombie *z;
|
||||
|
||||
z = new Zombie(name);
|
||||
|
||||
return (z);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/05 17:04:38 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/07 19:10:34 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/09/14 13:48:12 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
|
||||
void randomChump( std::string name )
|
||||
{
|
||||
Zombie *z;
|
||||
Zombie *z;
|
||||
|
||||
z = new Zombie(name);
|
||||
z->announce();
|
||||
|
||||
delete (z);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user