Write integers and read them back from binary file in C++: number of bytes mismaych

前端 未结 0 1891
夕颜
夕颜 2020-12-01 23:55

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.

First of all, the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题