9 #include "../headers/File.h"
28 if( (fold = fopen(Original.c_str(),
"rb")) == NULL)
31 if( (fnew = fopen(Target.c_str(),
"wb")) == NULL) {
66 ifstream FileIn(FileName);
68 return "Error: Can't Open File";
70 while (FileIn.get(Char))
88 ofstream OutFile(FileName);
vector< string > ScanFiles(string Path)
Not Setup Yet.
bool WriteTextFile(string FileName, string Text)
Opens Filename And Writes Text.
bool CopyFile(string Original, string Target)
A Simple C Function To Copy File From Original To Target.
bool WriteText(string Text)
Writes Text To HK_FilePath.
bool Copy(string Target)
Copy HK_FilePath To Target.
string GetPath()
Returns Path.
string ReadText()
Reads HK_FilePath Into String.
string ReadTextFile(string FileName)
Reads FileName Into String.