FileUtil()
the class constructor
char * getFileAsChar(const char *fname)
read a file and return contents as a char pointer.
bool writeFileFromString(std::string fname, std::string thestring)
write a file from an input string.
bool writeFileFromChar(char *fname, char *ch)
write a file from an input char pointer.
class used to make it easy to read and write files.
~FileUtil()
the class destructor
std::string getFileAsString(const char *fname)
read a file and return contents as a string.
bool writeFileFromString(char *fname, std::string thestring)
write a file from an input string.