Function write_file
Defined in File file.h
Function Documentation
-
void write_file(const std::string &filename, const std::string &data)
Writes a string of data to a file.
- Parameters:
filename – The path to the file to write.
data – The string containing the data to write.