I\'m writing four ints (a=1, b=2, c=3, d=4) to a binary file in C++ with fstream, but when I try to read them back, they do not match.
fstream
First of all, the