I have an array that has encoded the serial number of a device. The values in the array are the numbers for the respective ascii characters. I just need to print the serial number. BTW, for historical reasons, I'm using VC++ 6.0.
You allocated for data_in 128 characters that in hex is equal to 0x80. But in the loop you are trying to access characters with indexes greater than 0xE4. The allocated array has no elements with such indexes. The maximum index that can be used with the array is 0x80 - 1