long crcVal=22271827222; tempFile<<hex<<crcVal;
long bufflength=1500; tempFile<<bin<<bufflength // here it is not printing binary number ,some decimal value is printing in the file.
filestr ("test.bin", fstream::in | fstream::out | fstream::binary); fstream << crcVal;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)