how to load image files in c++??

I'm in 3rd semester/term of BS(CS). I have got a project to make Pacman game only in 2 weeks. I request my seniors here to give some idea n guide me...
You'll need a library such as FreeImage, DevIL or ImageMagick.
If all your images are in a certain format, you can directly use the base libraries such as libpng or libjpeg.
These aren't as convenient to use, but are much more lightweight.
If you SFML, you've got everything you need in one package, including image file loading.
http://www.sfml-dev.org/
Thanks Athar & Duoas...
Topic archived. No new replies allowed.