libzed 1.12.3
A general-purpose library for quick and simple data manipulation.
Loading...
Searching...
No Matches
write.hpp
1#pragma once
2
3#include "../core/string.hpp"
4#include "exceptions.hpp"
5#include <fstream>
6
7namespace z {
8namespace file {
20void write(const zstring &contents, const zpath &filename, bool append = false);
21
22} // namespace file
23} // namespace z
This section contains file management functions and classes.
void write(const zstring &contents, const zpath &filename, bool append=false)
Writes the contents of a string to a specified file.