read char *TimeStamp to make an __int64
I am able to read everything into TimeStamp as a 0-255 value but I am unsure how to get the __int64 TimeStamp value from the char pointer.
Once I learn how to making things into __int64's, I can modify the rest of the code to read the infile as records and store the data so it matches the data type for each element in the "array of" records.
unsigned char *get_data(CString file_name, int* file_sz)
cout << "\nCANNOT OPEN FILE";
long mark = infile.tellg(); // Mark current position
infile.seekg(FILEHEADER); // Move past the file header
unsigned char TimeStamp;
infile.read(static_cast<unsigned char*>(&TimeStamp), sizeof(TimeStamp)); // Extracts bytes from the stream until the limit is reached
OutData << "\n" << static_cast<long double>(TimeStamp);
unsigned char *data = new(nothrow) unsigned char;