outHdrFile.seekg(0, ios::end); long Hdrlen = outHdrFile.tellg(); ifstream::pos_type HdrPtr; HdrPtr = Hdrlen;// - headerSize; BYTE* HdrFileBuff = new BYTE[HdrBufferSize]; outHdrFile.seekg (140, ios::beg); outHdrFile.read((char*)HdrFileBuff,HdrPtr);
printf()
X
cout
hex
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)