Inconsistent Binary Data or Condition Statement Changing Data
问题 Really having some trouble even phrasing the problem. What's happening is I'm reading and storing an entire binary file into a uint32_t*. Then checking for the start of the segment of data I need. However, adding a check to just make sure I haven't passed over the array changes where the start of the segment is and I have no idea why. #include <iostream> #include <string.h> #include <typeinfo> #include <fstream> #include <vector> #include <stdint.h> #include <stdexcept> using namespace std;