MFile

Examples
''Note: Usually the file interface won't be used directly. See:MFileTools''

MFile* fp = M_fopen("filename.txt", "r"); fp->seek(0L, SEEK_END); long size = fp->tell; char* buffer = new char[size]; fp->rewind; fp->read(buffer, 1, size); fp->close; fp->destroy; // if we're not using the MFileTools interface, we need to manually destroy delete [] buffer;