Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <string>
- #include <fstream>
- #include <vector>
- namespace files {
- namespace types {
- using file = std::fstream;
- using infile = std::ifstream;
- using outfile = std::ofstream;
- using file_path = std::string;
- using file_content = std::vector<std::string>;
- using file_line = std::string;
- }
- types::file_content ReadFile(types::file_path to_read);
- bool WriteFile(types::file_path to_write, types::file_content fdata);
- bool CreateFile(types::file_path to_create);
- bool DeleteFile(types::file_path to_delete);
- bool CheckFile(types::file_path to_check);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement