[Solved] Reading and writing a file in byte array in C/C++
[ad_1] Make sure you’re checking the actual size. Windows has different ways of showing it. Compare the “Size” in bytes (e.g.16666) rather than the “size on disk”, which will be rounded up depending on the filesystem. Update Your drop box link has this code like this:- FILE* output = fopen( “test_output.dat”, “wb” ); fwrite( fileBuf, … Read more