Need help reading in image for exam, C++\OpenGL

Associate
Joined
16 Nov 2011
Posts
1,051
Location
127.0.0.1
I have an exam coming up, it is a closed book lab based OpenGL exam in C++. I might have to read in an image for texturing, the only problem is that the code that I have access to in the exam is not compatible with the IDE (Visual Studio 2012), the guy that wrote it uses Linux and used fopen.

So, I need a good simple way to read in an image in C++, without fopen, that I can memories for the exam. Or perhaps a way to convert old fopen code to code that will work with Visual Studio by using fopen_s or otherwise.
 
Back
Top Bottom