hello need some help with fixing this c++ app it parses the values from a txt file that has bytes and parses into database values I need the app to be alterd so it parses the new bytes ,The new bytes have the 00 bytes removed this is the old bytes ive spaced the-----00----- to show which ones need to be ignored or added to the new bytes or some tool that could go through the big txt file and add the 00 the code to the app is at bottom im not sure where it finds the 00 to skip in the c++ code
are these fixed width entries?
if so, just use _snprintf(srh, 6, "%02X%04X",z,i); modify that line to read all the hex into variables and process it from there, is that doable? It seems like its doing too much work.
if it helps I don't think its finding the zeros to skip. I think its naturally skipping them due to them being zero as an intentional side effect. Not 100% sure, though, its a little hard to read.