In resize, when using fseek(), I used -(old_Width * sizeof(RGBTRIPLE)) to make the cursor go back to start of the line, however this returned an error : runtime error: negation of 36 cannot be represented in type 'unsigned long'
The problem was fixed when I replaced the sizeof(RGBTRIPLE) with 3, but I'm not quite sure why...
Would someone please mind explaining? Thanks very much in advance