Hex Editing - Remove first 15 bytes
What I'm trying to do is, have the user input a file name and it must have the extension .SST. Once that is done, it will remove the first 15 bytes of the file and rename it accordingly.
The file will be renamed to .DDS if the header starts with DDS, or [4444 53] in hex. Else, it will be renamed .TGA
I'm a beginner in C++, whereas Visual Basic is where I am more knowledgeable. However, doing this operation in VB is not my cup of tea. I saw some code which did hex operations and it seemed pretty short. So I'm attempting to do it with C++.
If someone could provide this piece of code, I would be very helpful.