void Loader::Continue()
{
for(int newB=0;newB<LOADBUFSIZE;newB++)
{
Loader::At++;
Loader::LoadFrom.seekg(Loader::At,std::ios::beg);
char nBuf[LOADBUFSIZE];
Loader::LoadFrom.read(nBuf,LOADBUFSIZE);
Loader::Buf<<nBuf;
APP.Log.Write(nBuf);
}
if(Loader::Done())
{
Loader::Close();
}
}
But comes up with garbled text when i read what it loaded in the log file. Am i doing anything wrong? What should i do?