adding the start of ex01 with the patched for cpp98

This commit is contained in:
Raphael 2025-02-06 23:29:03 +01:00
parent 1cff8e9d9e
commit f7bd1abc3c
15 changed files with 185 additions and 35 deletions

View file

@ -0,0 +1,30 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* WrongAnimal.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/28 17:44:54 by rparodi #+# #+# */
/* Updated: 2025/01/31 19:34:06 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef WRONGANIMAL_HPP
#define WRONGANIMAL_HPP
#include <string>
#include <iostream>
class WrongAnimal {
public:
WrongAnimal();
virtual ~WrongAnimal();
virtual void makeSound() const;
std::string getType() const;
protected:
std::string type;
private:
};
#endif