libzed 1.9.9
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
A template class for character strings.
Definition string.hpp:62
void write(const zstring &contents, const zpath &filename, bool append=false)
Writes the contents of a string to a specified file.