regex_merge_example.cpp
sample.
Definition in file fileio.h.
#include "../cttl/coreutils.h"
#include <fstream>
Include dependency graph for fileio.h:
Go to the source code of this file.
Namespaces | |
namespace | cttl |
Functions | |
void | file2string (const CTTL_STD_STRING &filename_, CTTL_STD_STRING &str_) |
Inputs data from a text file and stores results in a string provided by the user. | |
CTTL_STD_STRING | file2string (const CTTL_STD_STRING &filename_) |
Reads data from a text file and returns a string containing the data. | |
void | string2file (const CTTL_STD_STRING &filename_, const CTTL_STD_STRING &str_) |
Writes data from string provided by the user into a text file. |
|
Reads data from a text file and returns a string containing the data.
|
|
Inputs data from a text file and stores results in a string provided by the user.
|
|
Writes data from string provided by the user into a text file.
|