My Project
|
Public Member Functions | |
WriteTextFile (string FileName) | |
~WriteTextFile () | |
void | Write (string st) |
void | Write (vector< string > st) |
WriteTextFile::WriteTextFile | ( | string | FileName | ) |
Constructor. "FileName" is the target file name.
Destructor. The file descriptor created in this class will be closed in this method.
void WriteTextFile::Write | ( | string | st | ) |
The value of the argument is appended to the target file defined in the constructor. "\n" should be added at the tail end of the string.
void WriteTextFile::Write | ( | vector< string > | st | ) |
Each element of the argument of this method is passed to "Write(string)". Please read the manual of it.