Hi all. I'm new to c++, and am trying to write a stream of interleaved 3 byte (1 byte per color RGB), pixel data to a binary file. The fwrite fails when 3 lines of commented code below are enabled. I don't get an error, the program appears to run correctly, but no file is created. Any thoughts...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.