Hello everyone, I'm in need of your help. I've always thought that files were made up of bytes which range from 0 to 255 in decimal value. But when reading the values of some mp3's and other audio files I found myself sometimes getting negative numbers like -29 or hex that start off 'FFFFFF' as in FFFFFF0A. I want to be able to edit files with such values on that level but I have no knowledge of how to write these values into a file. Assuming ** is a hex value the most I know is:
I can write from 00 to FF in hex but not outside that range. If there is anyone who can help me I would greatly appreciate them showing me how to do it.Code:myfile << '\x**'
Thanks a lot.