#include "Sed.hpp" Sed::Sed(char *file, char *find, char *replacement) : _file( file ) // , _new_file( file.append(".replace") ) , _find( find ) , _replacement( replacement ) { // this->_buf = return; } Sed::~Sed() { // delete[] this->_buf; return; } void Sed::replace() { std::ifstream file(this->_file.c_str()); char c; while (file.get(c)) { std::cout << c; } }