| 59 | } |
| 60 | |
| 61 | std::string FileToString(const std::string &Path) { |
| 62 | std::ifstream T(Path, std::ios::binary); |
| 63 | return std::string((std::istreambuf_iterator<char>(T)), |
| 64 | std::istreambuf_iterator<char>()); |
| 65 | } |
| 66 | |
| 67 | void CopyFileToErr(const std::string &Path) { |
| 68 | Puts(FileToString(Path).c_str()); |
no outgoing calls
no test coverage detected