cpp/CPP01/ex04/SedForLooser.hpp
2024-12-04 17:29:31 +01:00

31 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* SedForLooser.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/21 15:53:07 by erey-bet #+# #+# */
/* Updated: 2023/04/21 15:56:01 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SEDFORLOOSER_HPP
# define SEDFORLOOSER_HPP
# include <iostream>
# include <string>
# include <fstream>
# include <cstring>
class SedForLooser {
public:
SedForLooser(char *filename);
void replace(std::string s1, std::string s2);
private:
char *filename;
};
#endif