cFile.cpp
bool cFile::Open(FILE *File)
{
	this->Saved = true; //we haven't changed it yet
	this->CurrentAddr = 0;
	this->File = File;
	fseek(this->File, 0, SEEK_END);
	this->Size = ftell(this->File);
	rewind(this->File);
	return true;
}
/* Sets the file handle to use.
 * Inputs:
 * -File: File handle.
 * Returns: true on sucess, false on failure.
 * Notes:
 * -The file handle will be closed when the cFile is destroyed.
 */
Sets the file handle to use.
Inputs:
-File: File handle.
Returns: true on sucess, false on failure.
Notes:
-The file handle will be closed when the cFile is destroyed.
Sets the file handle to use . Inputs : - File : File handle . Returns : true on sucess false on failure . Notes : - The file handle will be closed when the cFile is destroyed .
bool cFile::Open(FILE *File)
{
	this->Saved = true; 
	this->CurrentAddr = 0;
	this->File = File;
	fseek(this->File, 0, SEEK_END);
	this->Size = ftell(this->File);
	rewind(this->File);
	return true;
}
bool cFile :: Open ( FILE * File ) { this -> Saved = true ; this -> CurrentAddr = 0 ; this -> File = File ; fseek ( this -> File , 0 , SEEK_END ) ; this -> Size = ftell ( this -> File ) ; rewind ( this -> File ) ; return true ; }
Sets the file handle to use.
Sets the file handle to use .
//we haven't changed it yet