Let's see : std::pair == std :: pair -- GOOD std::pair == std :: pair -- GOODstd::pair == std :: pair -- BADstd::pair == std :: pair --...
MAX_BLOCKS = Number of 100 kB blocks inside 1 GB = 1 GB / 100 kB = ~10485 :smile: Just for making sure. Not really necessary !
Yeah you are right. The value of block * 102400 will be huge. [ Please ALWAYS post code inside code-blocks] So, you can use this : fseek(pFile,...
Assuming your file pointer is pFile; you can use : for(int block = 0; block < MAX_BLOCKS; ++block) { // We have to move cursor by...
Introduction Many times you may have wondered how to return several values from a C++ function. I know it's easy for most of you when you know...
Separate names with a comma.