I have a class that I wrote, (first one that has to do with reading in Binary Files) that is meant to read in TRUECOLOR TGA Files. For some reason it is not working and the results come out a bit different than expected. I've tried many different things but still cannot work it out. Any help is appreciated.
(TGA INFO was retrieved from http://www.wotsit.org/download.asp?f=tga2)
(PLEASE RENAME THE "a.txt" AND "b.txt" extensions to ".tga")