list initializer
This commit is contained in:
27
d01/ex04/Sed.hpp
Normal file
27
d01/ex04/Sed.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef SED_HPP
|
||||
# define SED_HPP
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
|
||||
class Sed {
|
||||
|
||||
public:
|
||||
|
||||
Sed(char *file, char *find, char *replacement);
|
||||
~Sed();
|
||||
|
||||
void replace( void );
|
||||
|
||||
private:
|
||||
|
||||
// std::string _buf;
|
||||
std::string const _file;
|
||||
std::string const _new_file;
|
||||
std::string const _find;
|
||||
std::string const _replacement;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user